From 228522f274c6caa185205c8ec888835415ad0a1c Mon Sep 17 00:00:00 2001 From: MrMcX Date: Sat, 10 Sep 2016 19:51:24 +0200 Subject: [PATCH] Javadoc added --- .gitignore | 4 +- build.xml | 20 - dist/javadoc/allclasses-frame.html | 31 + dist/javadoc/allclasses-noframe.html | 31 + dist/javadoc/constant-values.html | 125 ++++ dist/javadoc/deprecated-list.html | 125 ++++ dist/javadoc/dungeon/Dungeon.Mode.html | 368 ++++++++++ dist/javadoc/dungeon/Dungeon.Type.html | 383 ++++++++++ dist/javadoc/dungeon/Dungeon.html | 359 ++++++++++ dist/javadoc/dungeon/Enemy.html | 284 ++++++++ dist/javadoc/dungeon/Exit.html | 448 ++++++++++++ dist/javadoc/dungeon/Magic.html | 238 +++++++ dist/javadoc/dungeon/Room.html | 654 ++++++++++++++++++ dist/javadoc/dungeon/Trap.html | 280 ++++++++ dist/javadoc/dungeon/Treasure.html | 280 ++++++++ .../dungeon/class-use/Dungeon.Mode.html | 189 +++++ .../dungeon/class-use/Dungeon.Type.html | 240 +++++++ dist/javadoc/dungeon/class-use/Dungeon.html | 125 ++++ dist/javadoc/dungeon/class-use/Enemy.html | 167 +++++ dist/javadoc/dungeon/class-use/Exit.html | 217 ++++++ dist/javadoc/dungeon/class-use/Magic.html | 125 ++++ dist/javadoc/dungeon/class-use/Room.html | 220 ++++++ dist/javadoc/dungeon/class-use/Trap.html | 167 +++++ dist/javadoc/dungeon/class-use/Treasure.html | 167 +++++ dist/javadoc/dungeon/package-frame.html | 32 + dist/javadoc/dungeon/package-summary.html | 198 ++++++ dist/javadoc/dungeon/package-tree.html | 157 +++++ dist/javadoc/dungeon/package-use.html | 186 +++++ dist/javadoc/help-doc.html | 230 ++++++ dist/javadoc/index-files/index-1.html | 136 ++++ dist/javadoc/index-files/index-10.html | 146 ++++ dist/javadoc/index-files/index-11.html | 136 ++++ dist/javadoc/index-files/index-12.html | 192 +++++ dist/javadoc/index-files/index-13.html | 130 ++++ dist/javadoc/index-files/index-14.html | 146 ++++ dist/javadoc/index-files/index-2.html | 162 +++++ dist/javadoc/index-files/index-3.html | 150 ++++ dist/javadoc/index-files/index-4.html | 132 ++++ dist/javadoc/index-files/index-5.html | 148 ++++ dist/javadoc/index-files/index-6.html | 140 ++++ dist/javadoc/index-files/index-7.html | 144 ++++ dist/javadoc/index-files/index-8.html | 140 ++++ dist/javadoc/index-files/index-9.html | 132 ++++ dist/javadoc/index.html | 75 ++ dist/javadoc/main/DungeonGeneratorUI.html | 440 ++++++++++++ .../main/class-use/DungeonGeneratorUI.html | 125 ++++ dist/javadoc/main/package-frame.html | 21 + dist/javadoc/main/package-summary.html | 143 ++++ dist/javadoc/main/package-tree.html | 158 +++++ dist/javadoc/main/package-use.html | 125 ++++ dist/javadoc/overview-frame.html | 24 + dist/javadoc/overview-summary.html | 144 ++++ dist/javadoc/overview-tree.html | 182 +++++ dist/javadoc/package-list | 3 + dist/javadoc/script.js | 30 + dist/javadoc/serialized-form.html | 297 ++++++++ dist/javadoc/stylesheet.css | 574 +++++++++++++++ dist/javadoc/util/Counter.html | 303 ++++++++ dist/javadoc/util/Dice.html | 285 ++++++++ dist/javadoc/util/class-use/Counter.html | 194 ++++++ dist/javadoc/util/class-use/Dice.html | 125 ++++ dist/javadoc/util/package-frame.html | 22 + dist/javadoc/util/package-summary.html | 151 ++++ dist/javadoc/util/package-tree.html | 139 ++++ dist/javadoc/util/package-use.html | 160 +++++ src/dungeon/Dungeon.java | 8 +- src/dungeon/Enemy.java | 2 +- src/dungeon/Exit.java | 10 +- src/dungeon/Room.java | 26 +- src/util/Counter.java | 4 +- 70 files changed, 11808 insertions(+), 46 deletions(-) create mode 100644 dist/javadoc/allclasses-frame.html create mode 100644 dist/javadoc/allclasses-noframe.html create mode 100644 dist/javadoc/constant-values.html create mode 100644 dist/javadoc/deprecated-list.html create mode 100644 dist/javadoc/dungeon/Dungeon.Mode.html create mode 100644 dist/javadoc/dungeon/Dungeon.Type.html create mode 100644 dist/javadoc/dungeon/Dungeon.html create mode 100644 dist/javadoc/dungeon/Enemy.html create mode 100644 dist/javadoc/dungeon/Exit.html create mode 100644 dist/javadoc/dungeon/Magic.html create mode 100644 dist/javadoc/dungeon/Room.html create mode 100644 dist/javadoc/dungeon/Trap.html create mode 100644 dist/javadoc/dungeon/Treasure.html create mode 100644 dist/javadoc/dungeon/class-use/Dungeon.Mode.html create mode 100644 dist/javadoc/dungeon/class-use/Dungeon.Type.html create mode 100644 dist/javadoc/dungeon/class-use/Dungeon.html create mode 100644 dist/javadoc/dungeon/class-use/Enemy.html create mode 100644 dist/javadoc/dungeon/class-use/Exit.html create mode 100644 dist/javadoc/dungeon/class-use/Magic.html create mode 100644 dist/javadoc/dungeon/class-use/Room.html create mode 100644 dist/javadoc/dungeon/class-use/Trap.html create mode 100644 dist/javadoc/dungeon/class-use/Treasure.html create mode 100644 dist/javadoc/dungeon/package-frame.html create mode 100644 dist/javadoc/dungeon/package-summary.html create mode 100644 dist/javadoc/dungeon/package-tree.html create mode 100644 dist/javadoc/dungeon/package-use.html create mode 100644 dist/javadoc/help-doc.html create mode 100644 dist/javadoc/index-files/index-1.html create mode 100644 dist/javadoc/index-files/index-10.html create mode 100644 dist/javadoc/index-files/index-11.html create mode 100644 dist/javadoc/index-files/index-12.html create mode 100644 dist/javadoc/index-files/index-13.html create mode 100644 dist/javadoc/index-files/index-14.html create mode 100644 dist/javadoc/index-files/index-2.html create mode 100644 dist/javadoc/index-files/index-3.html create mode 100644 dist/javadoc/index-files/index-4.html create mode 100644 dist/javadoc/index-files/index-5.html create mode 100644 dist/javadoc/index-files/index-6.html create mode 100644 dist/javadoc/index-files/index-7.html create mode 100644 dist/javadoc/index-files/index-8.html create mode 100644 dist/javadoc/index-files/index-9.html create mode 100644 dist/javadoc/index.html create mode 100644 dist/javadoc/main/DungeonGeneratorUI.html create mode 100644 dist/javadoc/main/class-use/DungeonGeneratorUI.html create mode 100644 dist/javadoc/main/package-frame.html create mode 100644 dist/javadoc/main/package-summary.html create mode 100644 dist/javadoc/main/package-tree.html create mode 100644 dist/javadoc/main/package-use.html create mode 100644 dist/javadoc/overview-frame.html create mode 100644 dist/javadoc/overview-summary.html create mode 100644 dist/javadoc/overview-tree.html create mode 100644 dist/javadoc/package-list create mode 100644 dist/javadoc/script.js create mode 100644 dist/javadoc/serialized-form.html create mode 100644 dist/javadoc/stylesheet.css create mode 100644 dist/javadoc/util/Counter.html create mode 100644 dist/javadoc/util/Dice.html create mode 100644 dist/javadoc/util/class-use/Counter.html create mode 100644 dist/javadoc/util/class-use/Dice.html create mode 100644 dist/javadoc/util/package-frame.html create mode 100644 dist/javadoc/util/package-summary.html create mode 100644 dist/javadoc/util/package-tree.html create mode 100644 dist/javadoc/util/package-use.html diff --git a/.gitignore b/.gitignore index f91ff2b..6e62f92 100644 --- a/.gitignore +++ b/.gitignore @@ -193,7 +193,9 @@ $RECYCLE.BIN/ # Packages *.egg *.egg-info -dist/ +dist/bundles/ +dist/lib/ +dist/*.jar build/ eggs/ parts/ diff --git a/build.xml b/build.xml index 837d2fd..02c0404 100644 --- a/build.xml +++ b/build.xml @@ -81,24 +81,4 @@ nbproject/build-impl.xml file. --> - - - - - - - - - - - - - - - - - - - diff --git a/dist/javadoc/allclasses-frame.html b/dist/javadoc/allclasses-frame.html new file mode 100644 index 0000000..6bc81f6 --- /dev/null +++ b/dist/javadoc/allclasses-frame.html @@ -0,0 +1,31 @@ + + + + + + +All Classes + + + + + +

All Classes

+
+ +
+ + diff --git a/dist/javadoc/allclasses-noframe.html b/dist/javadoc/allclasses-noframe.html new file mode 100644 index 0000000..ed45880 --- /dev/null +++ b/dist/javadoc/allclasses-noframe.html @@ -0,0 +1,31 @@ + + + + + + +All Classes + + + + + +

All Classes

+
+ +
+ + diff --git a/dist/javadoc/constant-values.html b/dist/javadoc/constant-values.html new file mode 100644 index 0000000..0be4c5b --- /dev/null +++ b/dist/javadoc/constant-values.html @@ -0,0 +1,125 @@ + + + + + + +Constant Field Values + + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/deprecated-list.html b/dist/javadoc/deprecated-list.html new file mode 100644 index 0000000..c1c9020 --- /dev/null +++ b/dist/javadoc/deprecated-list.html @@ -0,0 +1,125 @@ + + + + + + +Deprecated List + + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/dungeon/Dungeon.Mode.html b/dist/javadoc/dungeon/Dungeon.Mode.html new file mode 100644 index 0000000..9de9bbd --- /dev/null +++ b/dist/javadoc/dungeon/Dungeon.Mode.html @@ -0,0 +1,368 @@ + + + + + + +Dungeon.Mode + + + + + + + + +
+ + + + + + + +
+ + + +
+
dungeon
+

Enum Dungeon.Mode

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<Dungeon.Mode>
    +
    +
    +
    Enclosing class:
    +
    Dungeon
    +
    +
    +
    +
    public static enum Dungeon.Mode
    +extends java.lang.Enum<Dungeon.Mode>
    +
    Different room generation sequence modes
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      BRANCHED +
      FIFO - branched dungeon
      +
      RANDOM +
      Random - balanced dungeon
      +
      STRAIGHT +
      FILO - straight dungeon
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static Dungeon.ModevalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static Dungeon.Mode[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        STRAIGHT

        +
        public static final Dungeon.Mode STRAIGHT
        +
        FILO - straight dungeon
        +
      • +
      + + + +
        +
      • +

        BRANCHED

        +
        public static final Dungeon.Mode BRANCHED
        +
        FIFO - branched dungeon
        +
      • +
      + + + +
        +
      • +

        RANDOM

        +
        public static final Dungeon.Mode RANDOM
        +
        Random - balanced dungeon
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static Dungeon.Mode[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (Dungeon.Mode c : Dungeon.Mode.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static Dungeon.Mode valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/dungeon/Dungeon.Type.html b/dist/javadoc/dungeon/Dungeon.Type.html new file mode 100644 index 0000000..7731fa2 --- /dev/null +++ b/dist/javadoc/dungeon/Dungeon.Type.html @@ -0,0 +1,383 @@ + + + + + + +Dungeon.Type + + + + + + + + +
+ + + + + + + +
+ + + +
+
dungeon
+

Enum Dungeon.Type

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<Dungeon.Type>
    +
    +
    +
    Enclosing class:
    +
    Dungeon
    +
    +
    +
    +
    public static enum Dungeon.Type
    +extends java.lang.Enum<Dungeon.Type>
    +
    The type of rooms to generate
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      ARTIFICIAL +
      "Human"-made rooms
      +
      EXP_ARTIFICIAL +
      "Human"-made rooms in experimental mode
      +
      EXP_NATURAL +
      Nature-made rooms in experimental mode
      +
      NATURAL +
      Nature-made rooms
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static Dungeon.TypevalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static Dungeon.Type[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        NATURAL

        +
        public static final Dungeon.Type NATURAL
        +
        Nature-made rooms
        +
      • +
      + + + +
        +
      • +

        ARTIFICIAL

        +
        public static final Dungeon.Type ARTIFICIAL
        +
        "Human"-made rooms
        +
      • +
      + + + +
        +
      • +

        EXP_NATURAL

        +
        public static final Dungeon.Type EXP_NATURAL
        +
        Nature-made rooms in experimental mode
        +
      • +
      + + + +
        +
      • +

        EXP_ARTIFICIAL

        +
        public static final Dungeon.Type EXP_ARTIFICIAL
        +
        "Human"-made rooms in experimental mode
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static Dungeon.Type[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (Dungeon.Type c : Dungeon.Type.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static Dungeon.Type valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/dungeon/Dungeon.html b/dist/javadoc/dungeon/Dungeon.html new file mode 100644 index 0000000..b743fd9 --- /dev/null +++ b/dist/javadoc/dungeon/Dungeon.html @@ -0,0 +1,359 @@ + + + + + + +Dungeon + + + + + + + + +
+ + + + + + + +
+ + + +
+
dungeon
+

Class Dungeon

+
+
+ +
+
    +
  • +
    +
    +
    public class Dungeon
    +extends java.lang.Object
    +
    Stores all information about the dungeon
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeClass and Description
      static class Dungeon.Mode +
      Different room generation sequence modes
      +
      static class Dungeon.Type +
      The type of rooms to generate
      +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Dungeon(int size, + Dungeon.Type type, + Dungeon.Mode mode) +
      Stanard constructor, creates a new dungeon and then generates the contens
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static booleanNatural(Dungeon.Type n) +
      Checks whether a type is natural
      +
      org.jgrapht.UndirectedGraphtoGraph() +
      Creates a graph from the dungeon
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Dungeon

        +
        public Dungeon(int size,
        +               Dungeon.Type type,
        +               Dungeon.Mode mode)
        +
        Stanard constructor, creates a new dungeon and then generates the contens
        +
        +
        Parameters:
        +
        size - maximum number of rooms
        +
        type - how the rooms are to construct
        +
        mode - determines room generation sequence
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        toGraph

        +
        public org.jgrapht.UndirectedGraph toGraph()
        +
        Creates a graph from the dungeon
        +
        +
        Returns:
        +
        UndirectedGraph from JGraphT
        +
        +
      • +
      + + + +
        +
      • +

        Natural

        +
        public static boolean Natural(Dungeon.Type n)
        +
        Checks whether a type is natural
        +
        +
        Parameters:
        +
        n - type to check
        +
        Returns:
        +
        is natural
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/dungeon/Enemy.html b/dist/javadoc/dungeon/Enemy.html new file mode 100644 index 0000000..985e598 --- /dev/null +++ b/dist/javadoc/dungeon/Enemy.html @@ -0,0 +1,284 @@ + + + + + + +Enemy + + + + + + + + +
+ + + + + + + +
+ + + +
+
dungeon
+

Class Enemy

+
+
+ +
+
    +
  • +
    +
    +
    public class Enemy
    +extends java.lang.Object
    +
    Stores information about enemies
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Enemy(Dungeon.Type type) +
      Constructs a new random enemy in a given type of room
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Enemy

        +
        public Enemy(Dungeon.Type type)
        +
        Constructs a new random enemy in a given type of room
        +
        +
        Parameters:
        +
        type - type of environment
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/dungeon/Exit.html b/dist/javadoc/dungeon/Exit.html new file mode 100644 index 0000000..7d42730 --- /dev/null +++ b/dist/javadoc/dungeon/Exit.html @@ -0,0 +1,448 @@ + + + + + + +Exit + + + + + + + + +
+ + + + + + + +
+ + + +
+
dungeon
+

Class Exit

+
+
+ +
+
    +
  • +
    +
    +
    public class Exit
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      booleanisStart +
      If the exit is start
      +
      booleanisTrap +
      If there is a trap in this exit
      +
      Roomroom +
      The room this exit leads to
      +
      java.lang.Stringtrap +
      Type of trap
      +
      java.lang.Stringtype +
      The type of exit
      +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      Exit(Room room) +
      Constructs a random exit to a given room
      +
      Exit(Room room, + java.lang.String type) +
      Constructs a exit of a give type to a room
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static ExitStart() +
      Gives the entry
      +
      java.lang.StringtoLongString() +
      Gives this exits description
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        room

        +
        public Room room
        +
        The room this exit leads to
        +
      • +
      + + + +
        +
      • +

        type

        +
        public java.lang.String type
        +
        The type of exit
        +
      • +
      + + + +
        +
      • +

        isStart

        +
        public boolean isStart
        +
        If the exit is start
        +
      • +
      + + + +
        +
      • +

        isTrap

        +
        public boolean isTrap
        +
        If there is a trap in this exit
        +
      • +
      + + + +
        +
      • +

        trap

        +
        public java.lang.String trap
        +
        Type of trap
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Exit

        +
        public Exit(Room room)
        +
        Constructs a random exit to a given room
        +
        +
        Parameters:
        +
        room - Room to lead to
        +
        +
      • +
      + + + +
        +
      • +

        Exit

        +
        public Exit(Room room,
        +            java.lang.String type)
        +
        Constructs a exit of a give type to a room
        +
        +
        Parameters:
        +
        room - Room to lead to
        +
        type - Type of exit
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        toLongString

        +
        public java.lang.String toLongString()
        +
        Gives this exits description
        +
        +
        Returns:
        +
        Description string
        +
        +
      • +
      + + + +
        +
      • +

        Start

        +
        public static Exit Start()
        +
        Gives the entry
        +
        +
        Returns:
        +
        Entry of dungeon
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/dungeon/Magic.html b/dist/javadoc/dungeon/Magic.html new file mode 100644 index 0000000..18498ff --- /dev/null +++ b/dist/javadoc/dungeon/Magic.html @@ -0,0 +1,238 @@ + + + + + + +Magic + + + + + + + + +
+ + + + + + + +
+ + + +
+
dungeon
+

Class Magic

+
+
+ +
+
    +
  • +
    +
    +
    public class Magic
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Magic() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Magic

        +
        public Magic()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/dungeon/Room.html b/dist/javadoc/dungeon/Room.html new file mode 100644 index 0000000..d02b45c --- /dev/null +++ b/dist/javadoc/dungeon/Room.html @@ -0,0 +1,654 @@ + + + + + + +Room + + + + + + + + +
+ + + + + + + +
+ + + +
+
dungeon
+

Class Room

+
+
+ +
+
    +
  • +
    +
    +
    public class Room
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      java.lang.Stringdesc +
      Room description
      +
      Exit[]exits +
      The list of exits in this room
      +
      booleanhasMagic +
      Whether it is a room or a corridor
      +
      booleanhasMonster +
      Whether it is a room or a corridor
      +
      booleanhasSpecial +
      Whether it is a room or a corridor
      +
      booleanhasTrap +
      Whether it is a room or a corridor
      +
      booleanhasTreasure +
      Whether it is a room or a corridor
      +
      booleanisRoom +
      Whether it is a room or a corridor
      +
      java.lang.StringmagicPhenomenon +
      Room description
      +
      Enemymonster +
      The enemy in this room
      +
      intnumber +
      The unique number of the room
      +
      java.lang.StringspecialPhenomenon +
      Room description
      +
      Traptrap +
      The trap in this room
      +
      Treasuretreasure +
      The treasure in this room
      +
      Dungeon.Typetype +
      The room generation type
      +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Room(Exit predecessor, + int numberOfExits, + boolean room, + java.lang.String desc, + Counter c) +
      Constructs a room with a given predecessor, number of exits, description and counter
      +
      +
    • +
    + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        number

        +
        public int number
        +
        The unique number of the room
        +
      • +
      + + + +
        +
      • +

        exits

        +
        public Exit[] exits
        +
        The list of exits in this room
        +
      • +
      + + + +
        +
      • +

        type

        +
        public Dungeon.Type type
        +
        The room generation type
        +
      • +
      + + + +
        +
      • +

        isRoom

        +
        public boolean isRoom
        +
        Whether it is a room or a corridor
        +
      • +
      + + + +
        +
      • +

        hasMonster

        +
        public boolean hasMonster
        +
        Whether it is a room or a corridor
        +
      • +
      + + + +
        +
      • +

        hasTrap

        +
        public boolean hasTrap
        +
        Whether it is a room or a corridor
        +
      • +
      + + + +
        +
      • +

        hasMagic

        +
        public boolean hasMagic
        +
        Whether it is a room or a corridor
        +
      • +
      + + + +
        +
      • +

        hasSpecial

        +
        public boolean hasSpecial
        +
        Whether it is a room or a corridor
        +
      • +
      + + + +
        +
      • +

        hasTreasure

        +
        public boolean hasTreasure
        +
        Whether it is a room or a corridor
        +
      • +
      + + + +
        +
      • +

        monster

        +
        public Enemy monster
        +
        The enemy in this room
        +
      • +
      + + + +
        +
      • +

        treasure

        +
        public Treasure treasure
        +
        The treasure in this room
        +
      • +
      + + + +
        +
      • +

        trap

        +
        public Trap trap
        +
        The trap in this room
        +
      • +
      + + + +
        +
      • +

        desc

        +
        public java.lang.String desc
        +
        Room description
        +
      • +
      + + + +
        +
      • +

        magicPhenomenon

        +
        public java.lang.String magicPhenomenon
        +
        Room description
        +
      • +
      + + + +
        +
      • +

        specialPhenomenon

        +
        public java.lang.String specialPhenomenon
        +
        Room description
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Room

        +
        public Room(Exit predecessor,
        +            int numberOfExits,
        +            boolean room,
        +            java.lang.String desc,
        +            Counter c)
        +
        Constructs a room with a given predecessor, number of exits, description and counter
        +
        +
        Parameters:
        +
        predecessor - Predecessor room
        +
        numberOfExits - Number of exits
        +
        room - Whether it is a room
        +
        desc - Description of room
        +
        c - Room counter
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        generate

        +
        public java.util.List<Room> generate(Counter c,
        +                                     Dungeon.Type type)
        +
        Generates the content of the room
        +
        +
        Parameters:
        +
        c - Room counter
        +
        type - Environment type
        +
        Returns:
        +
        Returns more rooms to generate
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        toLongString

        +
        public java.lang.String toLongString()
        +
        Returns a long description
        +
        +
        Returns:
        +
        Long description string
        +
        +
      • +
      + + + +
        +
      • +

        toShortString

        +
        public java.lang.String toShortString()
        +
        Returns a short description
        +
        +
        Returns:
        +
        Short description string
        +
        +
      • +
      + + + +
        +
      • +

        RandomRoom

        +
        public static Room RandomRoom(boolean first,
        +                              Exit predecessor,
        +                              Counter c,
        +                              Dungeon.Type type)
        +
        Generates a random room
        +
        +
        Parameters:
        +
        first - Whether it is the first room
        +
        predecessor - Predecessor room
        +
        c - Room counter
        +
        type - Environment type
        +
        Returns:
        +
        random room
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/dungeon/Trap.html b/dist/javadoc/dungeon/Trap.html new file mode 100644 index 0000000..567ec36 --- /dev/null +++ b/dist/javadoc/dungeon/Trap.html @@ -0,0 +1,280 @@ + + + + + + +Trap + + + + + + + + +
+ + + + + + + +
+ + + +
+
dungeon
+

Class Trap

+
+
+ +
+
    +
  • +
    +
    +
    public class Trap
    +extends java.lang.Object
    +
    Stores information about a trap
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Trap() +
      Constructs a random trap
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Trap

        +
        public Trap()
        +
        Constructs a random trap
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/dungeon/Treasure.html b/dist/javadoc/dungeon/Treasure.html new file mode 100644 index 0000000..115ecd8 --- /dev/null +++ b/dist/javadoc/dungeon/Treasure.html @@ -0,0 +1,280 @@ + + + + + + +Treasure + + + + + + + + +
+ + + + + + + +
+ + + +
+
dungeon
+

Class Treasure

+
+
+ +
+
    +
  • +
    +
    +
    public class Treasure
    +extends java.lang.Object
    +
    Stores information about a treasure
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Treasure() +
      Constructs a random treasure
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Treasure

        +
        public Treasure()
        +
        Constructs a random treasure
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/dungeon/class-use/Dungeon.Mode.html b/dist/javadoc/dungeon/class-use/Dungeon.Mode.html new file mode 100644 index 0000000..439b67d --- /dev/null +++ b/dist/javadoc/dungeon/class-use/Dungeon.Mode.html @@ -0,0 +1,189 @@ + + + + + + +Uses of Class dungeon.Dungeon.Mode + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
dungeon.Dungeon.Mode

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/dungeon/class-use/Dungeon.Type.html b/dist/javadoc/dungeon/class-use/Dungeon.Type.html new file mode 100644 index 0000000..7c59e81 --- /dev/null +++ b/dist/javadoc/dungeon/class-use/Dungeon.Type.html @@ -0,0 +1,240 @@ + + + + + + +Uses of Class dungeon.Dungeon.Type + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
dungeon.Dungeon.Type

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/dungeon/class-use/Dungeon.html b/dist/javadoc/dungeon/class-use/Dungeon.html new file mode 100644 index 0000000..f0634c8 --- /dev/null +++ b/dist/javadoc/dungeon/class-use/Dungeon.html @@ -0,0 +1,125 @@ + + + + + + +Uses of Class dungeon.Dungeon + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
dungeon.Dungeon

+
+
No usage of dungeon.Dungeon
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/dungeon/class-use/Enemy.html b/dist/javadoc/dungeon/class-use/Enemy.html new file mode 100644 index 0000000..62566ba --- /dev/null +++ b/dist/javadoc/dungeon/class-use/Enemy.html @@ -0,0 +1,167 @@ + + + + + + +Uses of Class dungeon.Enemy + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
dungeon.Enemy

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/dungeon/class-use/Exit.html b/dist/javadoc/dungeon/class-use/Exit.html new file mode 100644 index 0000000..8c442bc --- /dev/null +++ b/dist/javadoc/dungeon/class-use/Exit.html @@ -0,0 +1,217 @@ + + + + + + +Uses of Class dungeon.Exit + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
dungeon.Exit

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/dungeon/class-use/Magic.html b/dist/javadoc/dungeon/class-use/Magic.html new file mode 100644 index 0000000..f150a0b --- /dev/null +++ b/dist/javadoc/dungeon/class-use/Magic.html @@ -0,0 +1,125 @@ + + + + + + +Uses of Class dungeon.Magic + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
dungeon.Magic

+
+
No usage of dungeon.Magic
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/dungeon/class-use/Room.html b/dist/javadoc/dungeon/class-use/Room.html new file mode 100644 index 0000000..b2a5377 --- /dev/null +++ b/dist/javadoc/dungeon/class-use/Room.html @@ -0,0 +1,220 @@ + + + + + + +Uses of Class dungeon.Room + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
dungeon.Room

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/dungeon/class-use/Trap.html b/dist/javadoc/dungeon/class-use/Trap.html new file mode 100644 index 0000000..0d785fe --- /dev/null +++ b/dist/javadoc/dungeon/class-use/Trap.html @@ -0,0 +1,167 @@ + + + + + + +Uses of Class dungeon.Trap + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
dungeon.Trap

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/dungeon/class-use/Treasure.html b/dist/javadoc/dungeon/class-use/Treasure.html new file mode 100644 index 0000000..7a016bd --- /dev/null +++ b/dist/javadoc/dungeon/class-use/Treasure.html @@ -0,0 +1,167 @@ + + + + + + +Uses of Class dungeon.Treasure + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
dungeon.Treasure

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/dungeon/package-frame.html b/dist/javadoc/dungeon/package-frame.html new file mode 100644 index 0000000..9414470 --- /dev/null +++ b/dist/javadoc/dungeon/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +dungeon + + + + + +

dungeon

+
+

Classes

+ +

Enums

+ +
+ + diff --git a/dist/javadoc/dungeon/package-summary.html b/dist/javadoc/dungeon/package-summary.html new file mode 100644 index 0000000..70b7c59 --- /dev/null +++ b/dist/javadoc/dungeon/package-summary.html @@ -0,0 +1,198 @@ + + + + + + +dungeon + + + + + + + + +
+ + + + + + + +
+ + +
+

Package dungeon

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/dungeon/package-tree.html b/dist/javadoc/dungeon/package-tree.html new file mode 100644 index 0000000..7e68edf --- /dev/null +++ b/dist/javadoc/dungeon/package-tree.html @@ -0,0 +1,157 @@ + + + + + + +dungeon Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package dungeon

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/dungeon/package-use.html b/dist/javadoc/dungeon/package-use.html new file mode 100644 index 0000000..19dce7b --- /dev/null +++ b/dist/javadoc/dungeon/package-use.html @@ -0,0 +1,186 @@ + + + + + + +Uses of Package dungeon + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
dungeon

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/help-doc.html b/dist/javadoc/help-doc.html new file mode 100644 index 0000000..ebe4e23 --- /dev/null +++ b/dist/javadoc/help-doc.html @@ -0,0 +1,230 @@ + + + + + + +API Help + + + + + + + + +
+ + + + + + + +
+ + +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+ +This help file applies to API documentation generated using the standard doclet.
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/index-files/index-1.html b/dist/javadoc/index-files/index-1.html new file mode 100644 index 0000000..4510851 --- /dev/null +++ b/dist/javadoc/index-files/index-1.html @@ -0,0 +1,136 @@ + + + + + + +C-Index + + + + + + + + +
+ + + + + + + +
+ + +
C D E G H I M N P R S T U V  + + +

C

+
+
Counter - Class in util
+
+
Stores a counter to give rooms unique numbers
+
+
Counter() - Constructor for class util.Counter
+
+
Constructs the counter with 0
+
+
+C D E G H I M N P R S T U V 
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/index-files/index-10.html b/dist/javadoc/index-files/index-10.html new file mode 100644 index 0000000..d389854 --- /dev/null +++ b/dist/javadoc/index-files/index-10.html @@ -0,0 +1,146 @@ + + + + + + +R-Index + + + + + + + + +
+ + + + + + + +
+ + +
C D E G H I M N P R S T U V  + + +

R

+
+
RandomRoom(boolean, Exit, Counter, Dungeon.Type) - Static method in class dungeon.Room
+
+
Generates a random room
+
+
Roll(int, int) - Static method in class util.Dice
+
+
Rolls a dice somes times, adds everything up and returns it
+
+
room - Variable in class dungeon.Exit
+
+
The room this exit leads to
+
+
Room - Class in dungeon
+
 
+
Room(Exit, int, boolean, String, Counter) - Constructor for class dungeon.Room
+
+
Constructs a room with a given predecessor, number of exits, description and counter
+
+
+C D E G H I M N P R S T U V 
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/index-files/index-11.html b/dist/javadoc/index-files/index-11.html new file mode 100644 index 0000000..aefdbae --- /dev/null +++ b/dist/javadoc/index-files/index-11.html @@ -0,0 +1,136 @@ + + + + + + +S-Index + + + + + + + + +
+ + + + + + + +
+ + +
C D E G H I M N P R S T U V  + + +

S

+
+
specialPhenomenon - Variable in class dungeon.Room
+
+
Room description
+
+
Start() - Static method in class dungeon.Exit
+
+
Gives the entry
+
+
+C D E G H I M N P R S T U V 
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/index-files/index-12.html b/dist/javadoc/index-files/index-12.html new file mode 100644 index 0000000..e4d3a88 --- /dev/null +++ b/dist/javadoc/index-files/index-12.html @@ -0,0 +1,192 @@ + + + + + + +T-Index + + + + + + + + +
+ + + + + + + +
+ + +
C D E G H I M N P R S T U V  + + +

T

+
+
toGraph() - Method in class dungeon.Dungeon
+
+
Creates a graph from the dungeon
+
+
toLongString() - Method in class dungeon.Exit
+
+
Gives this exits description
+
+
toLongString() - Method in class dungeon.Room
+
+
Returns a long description
+
+
toShortString() - Method in class dungeon.Room
+
+
Returns a short description
+
+
toString() - Method in class dungeon.Dungeon
+
 
+
toString() - Method in class dungeon.Enemy
+
 
+
toString() - Method in class dungeon.Exit
+
 
+
toString() - Method in class dungeon.Room
+
 
+
toString() - Method in class dungeon.Trap
+
 
+
toString() - Method in class dungeon.Treasure
+
 
+
trap - Variable in class dungeon.Exit
+
+
Type of trap
+
+
trap - Variable in class dungeon.Room
+
+
The trap in this room
+
+
Trap - Class in dungeon
+
+
Stores information about a trap
+
+
Trap() - Constructor for class dungeon.Trap
+
+
Constructs a random trap
+
+
treasure - Variable in class dungeon.Room
+
+
The treasure in this room
+
+
Treasure - Class in dungeon
+
+
Stores information about a treasure
+
+
Treasure() - Constructor for class dungeon.Treasure
+
+
Constructs a random treasure
+
+
type - Variable in class dungeon.Exit
+
+
The type of exit
+
+
type - Variable in class dungeon.Room
+
+
The room generation type
+
+
+C D E G H I M N P R S T U V 
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/index-files/index-13.html b/dist/javadoc/index-files/index-13.html new file mode 100644 index 0000000..949bf6b --- /dev/null +++ b/dist/javadoc/index-files/index-13.html @@ -0,0 +1,130 @@ + + + + + + +U-Index + + + + + + + + +
+ + + + + + + +
+ + +
C D E G H I M N P R S T U V  + + +

U

+
+
util - package util
+
 
+
+C D E G H I M N P R S T U V 
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/index-files/index-14.html b/dist/javadoc/index-files/index-14.html new file mode 100644 index 0000000..9b7793e --- /dev/null +++ b/dist/javadoc/index-files/index-14.html @@ -0,0 +1,146 @@ + + + + + + +V-Index + + + + + + + + +
+ + + + + + + +
+ + +
C D E G H I M N P R S T U V  + + +

V

+
+
valueOf(String) - Static method in enum dungeon.Dungeon.Mode
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum dungeon.Dungeon.Type
+
+
Returns the enum constant of this type with the specified name.
+
+
values() - Static method in enum dungeon.Dungeon.Mode
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum dungeon.Dungeon.Type
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
+C D E G H I M N P R S T U V 
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/index-files/index-2.html b/dist/javadoc/index-files/index-2.html new file mode 100644 index 0000000..fd35e3d --- /dev/null +++ b/dist/javadoc/index-files/index-2.html @@ -0,0 +1,162 @@ + + + + + + +D-Index + + + + + + + + +
+ + + + + + + +
+ + +
C D E G H I M N P R S T U V  + + +

D

+
+
desc - Variable in class dungeon.Room
+
+
Room description
+
+
Dice - Class in util
+
+
This class gives random dices
+
+
Dice() - Constructor for class util.Dice
+
 
+
dungeon - package dungeon
+
 
+
Dungeon - Class in dungeon
+
+
Stores all information about the dungeon
+
+
Dungeon(int, Dungeon.Type, Dungeon.Mode) - Constructor for class dungeon.Dungeon
+
+
Stanard constructor, creates a new dungeon and then generates the contens
+
+
Dungeon.Mode - Enum in dungeon
+
+
Different room generation sequence modes
+
+
Dungeon.Type - Enum in dungeon
+
+
The type of rooms to generate
+
+
DungeonGeneratorUI - Class in main
+
 
+
DungeonGeneratorUI() - Constructor for class main.DungeonGeneratorUI
+
+
Creates new form DungeonGeneratorUI
+
+
+C D E G H I M N P R S T U V 
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/index-files/index-3.html b/dist/javadoc/index-files/index-3.html new file mode 100644 index 0000000..bf077e5 --- /dev/null +++ b/dist/javadoc/index-files/index-3.html @@ -0,0 +1,150 @@ + + + + + + +E-Index + + + + + + + + +
+ + + + + + + +
+ + +
C D E G H I M N P R S T U V  + + +

E

+
+
Enemy - Class in dungeon
+
+
Stores information about enemies
+
+
Enemy(Dungeon.Type) - Constructor for class dungeon.Enemy
+
+
Constructs a new random enemy in a given type of room
+
+
Exit - Class in dungeon
+
 
+
Exit(Room) - Constructor for class dungeon.Exit
+
+
Constructs a random exit to a given room
+
+
Exit(Room, String) - Constructor for class dungeon.Exit
+
+
Constructs a exit of a give type to a room
+
+
exits - Variable in class dungeon.Room
+
+
The list of exits in this room
+
+
+C D E G H I M N P R S T U V 
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/index-files/index-4.html b/dist/javadoc/index-files/index-4.html new file mode 100644 index 0000000..999532d --- /dev/null +++ b/dist/javadoc/index-files/index-4.html @@ -0,0 +1,132 @@ + + + + + + +G-Index + + + + + + + + +
+ + + + + + + +
+ + +
C D E G H I M N P R S T U V  + + +

G

+
+
generate(Counter, Dungeon.Type) - Method in class dungeon.Room
+
+
Generates the content of the room
+
+
+C D E G H I M N P R S T U V 
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/index-files/index-5.html b/dist/javadoc/index-files/index-5.html new file mode 100644 index 0000000..80f959c --- /dev/null +++ b/dist/javadoc/index-files/index-5.html @@ -0,0 +1,148 @@ + + + + + + +H-Index + + + + + + + + +
+ + + + + + + +
+ + +
C D E G H I M N P R S T U V  + + +

H

+
+
hasMagic - Variable in class dungeon.Room
+
+
Whether it is a room or a corridor
+
+
hasMonster - Variable in class dungeon.Room
+
+
Whether it is a room or a corridor
+
+
hasSpecial - Variable in class dungeon.Room
+
+
Whether it is a room or a corridor
+
+
hasTrap - Variable in class dungeon.Room
+
+
Whether it is a room or a corridor
+
+
hasTreasure - Variable in class dungeon.Room
+
+
Whether it is a room or a corridor
+
+
+C D E G H I M N P R S T U V 
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/index-files/index-6.html b/dist/javadoc/index-files/index-6.html new file mode 100644 index 0000000..c865814 --- /dev/null +++ b/dist/javadoc/index-files/index-6.html @@ -0,0 +1,140 @@ + + + + + + +I-Index + + + + + + + + +
+ + + + + + + +
+ + +
C D E G H I M N P R S T U V  + + +

I

+
+
isRoom - Variable in class dungeon.Room
+
+
Whether it is a room or a corridor
+
+
isStart - Variable in class dungeon.Exit
+
+
If the exit is start
+
+
isTrap - Variable in class dungeon.Exit
+
+
If there is a trap in this exit
+
+
+C D E G H I M N P R S T U V 
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/index-files/index-7.html b/dist/javadoc/index-files/index-7.html new file mode 100644 index 0000000..96f53c1 --- /dev/null +++ b/dist/javadoc/index-files/index-7.html @@ -0,0 +1,144 @@ + + + + + + +M-Index + + + + + + + + +
+ + + + + + + +
+ + +
C D E G H I M N P R S T U V  + + +

M

+
+
Magic - Class in dungeon
+
 
+
Magic() - Constructor for class dungeon.Magic
+
 
+
magicPhenomenon - Variable in class dungeon.Room
+
+
Room description
+
+
main - package main
+
 
+
main(String[]) - Static method in class main.DungeonGeneratorUI
+
 
+
monster - Variable in class dungeon.Room
+
+
The enemy in this room
+
+
+C D E G H I M N P R S T U V 
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/index-files/index-8.html b/dist/javadoc/index-files/index-8.html new file mode 100644 index 0000000..9ceb007 --- /dev/null +++ b/dist/javadoc/index-files/index-8.html @@ -0,0 +1,140 @@ + + + + + + +N-Index + + + + + + + + +
+ + + + + + + +
+ + +
C D E G H I M N P R S T U V  + + +

N

+
+
Natural(Dungeon.Type) - Static method in class dungeon.Dungeon
+
+
Checks whether a type is natural
+
+
Next() - Method in class util.Counter
+
+
Gives the next number (first increase. then return)
+
+
number - Variable in class dungeon.Room
+
+
The unique number of the room
+
+
+C D E G H I M N P R S T U V 
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/index-files/index-9.html b/dist/javadoc/index-files/index-9.html new file mode 100644 index 0000000..367cabb --- /dev/null +++ b/dist/javadoc/index-files/index-9.html @@ -0,0 +1,132 @@ + + + + + + +P-Index + + + + + + + + +
+ + + + + + + +
+ + +
C D E G H I M N P R S T U V  + + +

P

+
+
Peek() - Method in class util.Counter
+
+
Shows the current number without increasing it
+
+
+C D E G H I M N P R S T U V 
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/index.html b/dist/javadoc/index.html new file mode 100644 index 0000000..b1fe899 --- /dev/null +++ b/dist/javadoc/index.html @@ -0,0 +1,75 @@ + + + + + + +Generated Documentation (Untitled) + + + + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + + diff --git a/dist/javadoc/main/DungeonGeneratorUI.html b/dist/javadoc/main/DungeonGeneratorUI.html new file mode 100644 index 0000000..06db297 --- /dev/null +++ b/dist/javadoc/main/DungeonGeneratorUI.html @@ -0,0 +1,440 @@ + + + + + + +DungeonGeneratorUI + + + + + + + + +
+ + + + + + + +
+ + + +
+
main
+

Class DungeonGeneratorUI

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants
    +
    +
    +
    +
    public class DungeonGeneratorUI
    +extends javax.swing.JFrame
    +
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class javax.swing.JFrame

        +javax.swing.JFrame.AccessibleJFrame
      • +
      +
        +
      • + + +

        Nested classes/interfaces inherited from class java.awt.Frame

        +java.awt.Frame.AccessibleAWTFrame
      • +
      +
        +
      • + + +

        Nested classes/interfaces inherited from class java.awt.Window

        +java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type
      • +
      +
        +
      • + + +

        Nested classes/interfaces inherited from class java.awt.Container

        +java.awt.Container.AccessibleAWTContainer
      • +
      +
        +
      • + + +

        Nested classes/interfaces inherited from class java.awt.Component

        +java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
      • +
      +
    • +
    + +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class javax.swing.JFrame

        +accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
      • +
      +
        +
      • + + +

        Fields inherited from class java.awt.Frame

        +CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
      • +
      +
        +
      • + + +

        Fields inherited from class java.awt.Component

        +BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
      • +
      +
        +
      • + + +

        Fields inherited from interface javax.swing.WindowConstants

        +DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
      • +
      +
        +
      • + + +

        Fields inherited from interface java.awt.image.ImageObserver

        +ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      DungeonGeneratorUI() +
      Creates new form DungeonGeneratorUI
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static voidmain(java.lang.String[] args) 
      +
        +
      • + + +

        Methods inherited from class javax.swing.JFrame

        +addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
      • +
      +
        +
      • + + +

        Methods inherited from class java.awt.Frame

        +addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated
      • +
      +
        +
      • + + +

        Methods inherited from class java.awt.Window

        +addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFront
      • +
      +
        +
      • + + +

        Methods inherited from class java.awt.Container

        +add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
      • +
      +
        +
      • + + +

        Methods inherited from class java.awt.Component

        +action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
        +
      • + + +

        Methods inherited from interface java.awt.MenuContainer

        +getFont, postEvent
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DungeonGeneratorUI

        +
        public DungeonGeneratorUI()
        +
        Creates new form DungeonGeneratorUI
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        main

        +
        public static void main(java.lang.String[] args)
        +
        +
        Parameters:
        +
        args - the command line arguments
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/main/class-use/DungeonGeneratorUI.html b/dist/javadoc/main/class-use/DungeonGeneratorUI.html new file mode 100644 index 0000000..bba82de --- /dev/null +++ b/dist/javadoc/main/class-use/DungeonGeneratorUI.html @@ -0,0 +1,125 @@ + + + + + + +Uses of Class main.DungeonGeneratorUI + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
main.DungeonGeneratorUI

+
+
No usage of main.DungeonGeneratorUI
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/main/package-frame.html b/dist/javadoc/main/package-frame.html new file mode 100644 index 0000000..d5ddfdb --- /dev/null +++ b/dist/javadoc/main/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +main + + + + + +

main

+
+

Classes

+ +
+ + diff --git a/dist/javadoc/main/package-summary.html b/dist/javadoc/main/package-summary.html new file mode 100644 index 0000000..8679809 --- /dev/null +++ b/dist/javadoc/main/package-summary.html @@ -0,0 +1,143 @@ + + + + + + +main + + + + + + + + +
+ + + + + + + +
+ + +
+

Package main

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/main/package-tree.html b/dist/javadoc/main/package-tree.html new file mode 100644 index 0000000..078435e --- /dev/null +++ b/dist/javadoc/main/package-tree.html @@ -0,0 +1,158 @@ + + + + + + +main Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package main

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/main/package-use.html b/dist/javadoc/main/package-use.html new file mode 100644 index 0000000..f669b6b --- /dev/null +++ b/dist/javadoc/main/package-use.html @@ -0,0 +1,125 @@ + + + + + + +Uses of Package main + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
main

+
+
No usage of main
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/overview-frame.html b/dist/javadoc/overview-frame.html new file mode 100644 index 0000000..bb2cd6c --- /dev/null +++ b/dist/javadoc/overview-frame.html @@ -0,0 +1,24 @@ + + + + + + +Overview List + + + + + +
All Classes
+
+

Packages

+ +
+

 

+ + diff --git a/dist/javadoc/overview-summary.html b/dist/javadoc/overview-summary.html new file mode 100644 index 0000000..ea6e70e --- /dev/null +++ b/dist/javadoc/overview-summary.html @@ -0,0 +1,144 @@ + + + + + + +Overview + + + + + + + + +
+ + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + +
Packages 
PackageDescription
dungeon 
main 
util 
+
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/overview-tree.html b/dist/javadoc/overview-tree.html new file mode 100644 index 0000000..8caf39d --- /dev/null +++ b/dist/javadoc/overview-tree.html @@ -0,0 +1,182 @@ + + + + + + +Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/package-list b/dist/javadoc/package-list new file mode 100644 index 0000000..1d9dde8 --- /dev/null +++ b/dist/javadoc/package-list @@ -0,0 +1,3 @@ +dungeon +main +util diff --git a/dist/javadoc/script.js b/dist/javadoc/script.js new file mode 100644 index 0000000..b346356 --- /dev/null +++ b/dist/javadoc/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/dist/javadoc/serialized-form.html b/dist/javadoc/serialized-form.html new file mode 100644 index 0000000..e67f7da --- /dev/null +++ b/dist/javadoc/serialized-form.html @@ -0,0 +1,297 @@ + + + + + + +Serialized Form + + + + + + + + +
+ + + + + + + +
+ + +
+

Serialized Form

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/stylesheet.css b/dist/javadoc/stylesheet.css new file mode 100644 index 0000000..98055b2 --- /dev/null +++ b/dist/javadoc/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/dist/javadoc/util/Counter.html b/dist/javadoc/util/Counter.html new file mode 100644 index 0000000..9caffb7 --- /dev/null +++ b/dist/javadoc/util/Counter.html @@ -0,0 +1,303 @@ + + + + + + +Counter + + + + + + + + +
+ + + + + + + +
+ + + +
+
util
+

Class Counter

+
+
+ +
+
    +
  • +
    +
    +
    public class Counter
    +extends java.lang.Object
    +
    Stores a counter to give rooms unique numbers
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Counter() +
      Constructs the counter with 0
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intNext() +
      Gives the next number (first increase. then return)
      +
      intPeek() +
      Shows the current number without increasing it
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Counter

        +
        public Counter()
        +
        Constructs the counter with 0
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        Next

        +
        public int Next()
        +
        Gives the next number (first increase. then return)
        +
        +
        Returns:
        +
        next number
        +
        +
      • +
      + + + +
        +
      • +

        Peek

        +
        public int Peek()
        +
        Shows the current number without increasing it
        +
        +
        Returns:
        +
        current number
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/util/Dice.html b/dist/javadoc/util/Dice.html new file mode 100644 index 0000000..78577ca --- /dev/null +++ b/dist/javadoc/util/Dice.html @@ -0,0 +1,285 @@ + + + + + + +Dice + + + + + + + + +
+ + + + + + + +
+ + + +
+
util
+

Class Dice

+
+
+ +
+
    +
  • +
    +
    +
    public class Dice
    +extends java.lang.Object
    +
    This class gives random dices
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Dice() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static intRoll(int sides, + int times) +
      Rolls a dice somes times, adds everything up and returns it
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Dice

        +
        public Dice()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        Roll

        +
        public static int Roll(int sides,
        +                       int times)
        +
        Rolls a dice somes times, adds everything up and returns it
        +
        +
        Parameters:
        +
        sides - Number of sides of the dice
        +
        times - Number of times to roll the dice
        +
        Returns:
        +
        Sum of results
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/util/class-use/Counter.html b/dist/javadoc/util/class-use/Counter.html new file mode 100644 index 0000000..372f1f8 --- /dev/null +++ b/dist/javadoc/util/class-use/Counter.html @@ -0,0 +1,194 @@ + + + + + + +Uses of Class util.Counter + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
util.Counter

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/util/class-use/Dice.html b/dist/javadoc/util/class-use/Dice.html new file mode 100644 index 0000000..74817c7 --- /dev/null +++ b/dist/javadoc/util/class-use/Dice.html @@ -0,0 +1,125 @@ + + + + + + +Uses of Class util.Dice + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
util.Dice

+
+
No usage of util.Dice
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/util/package-frame.html b/dist/javadoc/util/package-frame.html new file mode 100644 index 0000000..ab618d7 --- /dev/null +++ b/dist/javadoc/util/package-frame.html @@ -0,0 +1,22 @@ + + + + + + +util + + + + + +

util

+
+

Classes

+ +
+ + diff --git a/dist/javadoc/util/package-summary.html b/dist/javadoc/util/package-summary.html new file mode 100644 index 0000000..87bdcb7 --- /dev/null +++ b/dist/javadoc/util/package-summary.html @@ -0,0 +1,151 @@ + + + + + + +util + + + + + + + + +
+ + + + + + + +
+ + +
+

Package util

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/util/package-tree.html b/dist/javadoc/util/package-tree.html new file mode 100644 index 0000000..0ce15bb --- /dev/null +++ b/dist/javadoc/util/package-tree.html @@ -0,0 +1,139 @@ + + + + + + +util Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package util

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/dist/javadoc/util/package-use.html b/dist/javadoc/util/package-use.html new file mode 100644 index 0000000..1411fd2 --- /dev/null +++ b/dist/javadoc/util/package-use.html @@ -0,0 +1,160 @@ + + + + + + +Uses of Package util + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
util

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/src/dungeon/Dungeon.java b/src/dungeon/Dungeon.java index ec786ad..ff3dfc6 100644 --- a/src/dungeon/Dungeon.java +++ b/src/dungeon/Dungeon.java @@ -107,7 +107,7 @@ public class Dungeon { /** * Checks whether a type is natural - * @param n + * @param n type to check * @return is natural */ public static boolean Natural(Type n){ @@ -120,17 +120,17 @@ public class Dungeon { public static enum Mode{ /** - * FILO -> straight dungeon + * FILO - straight dungeon */ STRAIGHT, /** - * FIFO -> branched dungeon + * FIFO - branched dungeon */ BRANCHED, /** - * Random -> balanced dungeon + * Random - balanced dungeon */ RANDOM, } diff --git a/src/dungeon/Enemy.java b/src/dungeon/Enemy.java index 63474ef..5721161 100644 --- a/src/dungeon/Enemy.java +++ b/src/dungeon/Enemy.java @@ -34,7 +34,7 @@ public class Enemy{ /** * Constructs a new random enemy in a given type of room - * @param type + * @param type type of environment */ public Enemy(Dungeon.Type type){ enemy = ""; diff --git a/src/dungeon/Exit.java b/src/dungeon/Exit.java index f2f012e..618c1a6 100644 --- a/src/dungeon/Exit.java +++ b/src/dungeon/Exit.java @@ -58,7 +58,7 @@ public class Exit { /** * Constructs a random exit to a given room - * @param room + * @param room Room to lead to */ public Exit(Room room){ this(room, GetRandomType(), false); @@ -66,8 +66,8 @@ public class Exit { /** * Constructs a exit of a give type to a room - * @param room - * @param type + * @param room Room to lead to + * @param type Type of exit */ public Exit(Room room, String type){ this(room, type, false); @@ -92,7 +92,7 @@ public class Exit { /** * Gives this exits description - * @return + * @return Description string */ public String toLongString(){ String out = "- "; @@ -112,7 +112,7 @@ public class Exit { /** * Gives the entry - * @return + * @return Entry of dungeon */ public static Exit Start(){ return new Exit(null, null, true); diff --git a/src/dungeon/Room.java b/src/dungeon/Room.java index 07ab5ee..da6d12b 100644 --- a/src/dungeon/Room.java +++ b/src/dungeon/Room.java @@ -111,11 +111,11 @@ public class Room { /** * Constructs a room with a given predecessor, number of exits, description and counter - * @param predecessor - * @param numberOfExits - * @param room - * @param desc - * @param c + * @param predecessor Predecessor room + * @param numberOfExits Number of exits + * @param room Whether it is a room + * @param desc Description of room + * @param c Room counter */ public Room(Exit predecessor, int numberOfExits, boolean room, String desc, Counter c){ exits = new Exit[numberOfExits]; @@ -127,8 +127,8 @@ public class Room { /** * Generates the content of the room - * @param c - * @param type + * @param c Room counter + * @param type Environment type * @return Returns more rooms to generate */ public List generate(Counter c, Dungeon.Type type){ @@ -230,7 +230,7 @@ public class Room { /** * Returns a long description - * @return + * @return Long description string */ public String toLongString(){ String out = ""; @@ -264,7 +264,7 @@ public class Room { /** * Returns a short description - * @return + * @return Short description string */ public String toShortString(){ if(isRoom){ @@ -361,10 +361,10 @@ public class Room { /** * Generates a random room - * @param first - * @param predecessor - * @param c - * @param type + * @param first Whether it is the first room + * @param predecessor Predecessor room + * @param c Room counter + * @param type Environment type * @return random room */ public static Room RandomRoom(boolean first, Exit predecessor, Counter c, Dungeon.Type type){ diff --git a/src/util/Counter.java b/src/util/Counter.java index 84925d4..2f434ad 100644 --- a/src/util/Counter.java +++ b/src/util/Counter.java @@ -39,7 +39,7 @@ public class Counter { /** * Gives the next number (first increase. then return) - * @return + * @return next number */ public int Next(){ counter++; @@ -48,7 +48,7 @@ public class Counter { /** * Shows the current number without increasing it - * @return + * @return current number */ public int Peek(){ return counter;