From 1df268cfa7f91ab6053616e8d3e107eefc6fcbb4 Mon Sep 17 00:00:00 2001 From: Alexander Date: Mon, 10 May 2021 23:53:56 -0500 Subject: [PATCH] javadoc generated --- docs/javadoc/allclasses-frame.html | 25 + docs/javadoc/allclasses-noframe.html | 25 + docs/javadoc/constant-values.html | 124 ++++ docs/javadoc/deprecated-list.html | 124 ++++ docs/javadoc/help-doc.html | 229 ++++++ docs/javadoc/index-files/index-1.html | 135 ++++ docs/javadoc/index-files/index-10.html | 137 ++++ docs/javadoc/index-files/index-11.html | 191 +++++ docs/javadoc/index-files/index-12.html | 129 ++++ docs/javadoc/index-files/index-13.html | 131 ++++ docs/javadoc/index-files/index-2.html | 131 ++++ docs/javadoc/index-files/index-3.html | 133 ++++ docs/javadoc/index-files/index-4.html | 129 ++++ docs/javadoc/index-files/index-5.html | 205 ++++++ docs/javadoc/index-files/index-6.html | 131 ++++ docs/javadoc/index-files/index-7.html | 129 ++++ docs/javadoc/index-files/index-8.html | 141 ++++ docs/javadoc/index-files/index-9.html | 133 ++++ docs/javadoc/index.html | 75 ++ docs/javadoc/model/Cell.html | 597 ++++++++++++++++ docs/javadoc/model/Game.html | 471 +++++++++++++ docs/javadoc/model/Player.html | 458 ++++++++++++ docs/javadoc/model/RankingTree.html | 335 +++++++++ docs/javadoc/model/Winner.html | 667 ++++++++++++++++++ docs/javadoc/model/class-use/Cell.html | 201 ++++++ docs/javadoc/model/class-use/Game.html | 124 ++++ docs/javadoc/model/class-use/Player.html | 197 ++++++ docs/javadoc/model/class-use/RankingTree.html | 124 ++++ docs/javadoc/model/class-use/Winner.html | 223 ++++++ docs/javadoc/model/package-frame.html | 24 + docs/javadoc/model/package-summary.html | 158 +++++ docs/javadoc/model/package-tree.html | 141 ++++ docs/javadoc/model/package-use.html | 182 +++++ docs/javadoc/overview-frame.html | 22 + docs/javadoc/overview-summary.html | 142 ++++ docs/javadoc/overview-tree.html | 144 ++++ docs/javadoc/package-list | 2 + docs/javadoc/script.js | 30 + docs/javadoc/stylesheet.css | 574 +++++++++++++++ docs/javadoc/ui/Main.html | 245 +++++++ docs/javadoc/ui/Menu.html | 415 +++++++++++ docs/javadoc/ui/class-use/Main.html | 124 ++++ docs/javadoc/ui/class-use/Menu.html | 124 ++++ docs/javadoc/ui/package-frame.html | 21 + docs/javadoc/ui/package-summary.html | 146 ++++ docs/javadoc/ui/package-tree.html | 138 ++++ docs/javadoc/ui/package-use.html | 124 ++++ 47 files changed, 8610 insertions(+) create mode 100644 docs/javadoc/allclasses-frame.html create mode 100644 docs/javadoc/allclasses-noframe.html create mode 100644 docs/javadoc/constant-values.html create mode 100644 docs/javadoc/deprecated-list.html create mode 100644 docs/javadoc/help-doc.html create mode 100644 docs/javadoc/index-files/index-1.html create mode 100644 docs/javadoc/index-files/index-10.html create mode 100644 docs/javadoc/index-files/index-11.html create mode 100644 docs/javadoc/index-files/index-12.html create mode 100644 docs/javadoc/index-files/index-13.html create mode 100644 docs/javadoc/index-files/index-2.html create mode 100644 docs/javadoc/index-files/index-3.html create mode 100644 docs/javadoc/index-files/index-4.html create mode 100644 docs/javadoc/index-files/index-5.html create mode 100644 docs/javadoc/index-files/index-6.html create mode 100644 docs/javadoc/index-files/index-7.html create mode 100644 docs/javadoc/index-files/index-8.html create mode 100644 docs/javadoc/index-files/index-9.html create mode 100644 docs/javadoc/index.html create mode 100644 docs/javadoc/model/Cell.html create mode 100644 docs/javadoc/model/Game.html create mode 100644 docs/javadoc/model/Player.html create mode 100644 docs/javadoc/model/RankingTree.html create mode 100644 docs/javadoc/model/Winner.html create mode 100644 docs/javadoc/model/class-use/Cell.html create mode 100644 docs/javadoc/model/class-use/Game.html create mode 100644 docs/javadoc/model/class-use/Player.html create mode 100644 docs/javadoc/model/class-use/RankingTree.html create mode 100644 docs/javadoc/model/class-use/Winner.html create mode 100644 docs/javadoc/model/package-frame.html create mode 100644 docs/javadoc/model/package-summary.html create mode 100644 docs/javadoc/model/package-tree.html create mode 100644 docs/javadoc/model/package-use.html create mode 100644 docs/javadoc/overview-frame.html create mode 100644 docs/javadoc/overview-summary.html create mode 100644 docs/javadoc/overview-tree.html create mode 100644 docs/javadoc/package-list create mode 100644 docs/javadoc/script.js create mode 100644 docs/javadoc/stylesheet.css create mode 100644 docs/javadoc/ui/Main.html create mode 100644 docs/javadoc/ui/Menu.html create mode 100644 docs/javadoc/ui/class-use/Main.html create mode 100644 docs/javadoc/ui/class-use/Menu.html create mode 100644 docs/javadoc/ui/package-frame.html create mode 100644 docs/javadoc/ui/package-summary.html create mode 100644 docs/javadoc/ui/package-tree.html create mode 100644 docs/javadoc/ui/package-use.html diff --git a/docs/javadoc/allclasses-frame.html b/docs/javadoc/allclasses-frame.html new file mode 100644 index 0000000..3cfe4cf --- /dev/null +++ b/docs/javadoc/allclasses-frame.html @@ -0,0 +1,25 @@ + + + + + +All Classes + + + + + +

All Classes

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

All Classes

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

Constant Field Values

+

Contents

+
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/deprecated-list.html b/docs/javadoc/deprecated-list.html new file mode 100644 index 0000000..90dfe74 --- /dev/null +++ b/docs/javadoc/deprecated-list.html @@ -0,0 +1,124 @@ + + + + + +Deprecated List + + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/help-doc.html b/docs/javadoc/help-doc.html new file mode 100644 index 0000000..d0edf8b --- /dev/null +++ b/docs/javadoc/help-doc.html @@ -0,0 +1,229 @@ + + + + + +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/docs/javadoc/index-files/index-1.html b/docs/javadoc/index-files/index-1.html new file mode 100644 index 0000000..589f882 --- /dev/null +++ b/docs/javadoc/index-files/index-1.html @@ -0,0 +1,135 @@ + + + + + +A-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D G H I M P R S U W  + + +

A

+
+
addPlayer(char) - Method in class model.Cell
+
 
+
addWinner(String, int, int, int, int, int, int, String) - Method in class model.RankingTree
+
+
Add a player which won the game.
+
+
addWinner(String) - Method in class ui.Menu
+
 
+
+A B C D G H I M P R S U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-10.html b/docs/javadoc/index-files/index-10.html new file mode 100644 index 0000000..8621cc0 --- /dev/null +++ b/docs/javadoc/index-files/index-10.html @@ -0,0 +1,137 @@ + + + + + +R-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D G H I M P R S U W  + + +

R

+
+
RankingTree - Class in model
+
 
+
RankingTree() - Constructor for class model.RankingTree
+
 
+
readGame() - Method in class ui.Menu
+
 
+
readOption() - Method in class ui.Menu
+
 
+
removePlayer(char) - Method in class model.Cell
+
 
+
+A B C D G H I M P R S U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-11.html b/docs/javadoc/index-files/index-11.html new file mode 100644 index 0000000..12804dd --- /dev/null +++ b/docs/javadoc/index-files/index-11.html @@ -0,0 +1,191 @@ + + + + + +S-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D G H I M P R S U W  + + +

S

+
+
setCellNumber(int) - Method in class model.Player
+
 
+
setColumns(int) - Method in class model.Winner
+
 
+
setDown(Cell) - Method in class model.Cell
+
 
+
setInfo(String) - Method in class model.Cell
+
 
+
setLadder(int) - Method in class model.Cell
+
 
+
setLadders(int) - Method in class model.Winner
+
 
+
setLeft(Cell) - Method in class model.Cell
+
 
+
setLeft(Player) - Method in class model.Player
+
 
+
setLeft(Winner) - Method in class model.Winner
+
 
+
setNickname(String) - Method in class model.Winner
+
 
+
setNumber(int) - Method in class model.Cell
+
 
+
setParent(Winner) - Method in class model.Winner
+
 
+
setPlayer(Player) - Method in class model.Cell
+
 
+
setPlayers(int) - Method in class model.Winner
+
 
+
setRight(Cell) - Method in class model.Cell
+
 
+
setRight(Player) - Method in class model.Player
+
 
+
setRight(Winner) - Method in class model.Winner
+
 
+
setRoot(Winner) - Method in class model.RankingTree
+
 
+
setRows(int) - Method in class model.Winner
+
 
+
setScore(int) - Method in class model.Player
+
 
+
setScore(int) - Method in class model.Winner
+
 
+
setSnake(char) - Method in class model.Cell
+
 
+
setSnakes(int) - Method in class model.Winner
+
 
+
setSymbol(char) - Method in class model.Player
+
 
+
setSymbols(String) - Method in class model.Winner
+
 
+
setUp(Cell) - Method in class model.Cell
+
 
+
showData() - Method in class model.Winner
+
+
Returns the winner data in a string form.
+
+
showMenu() - Method in class ui.Menu
+
 
+
showRankingTree(Winner) - Method in class ui.Menu
+
 
+
startProgram() - Method in class ui.Menu
+
 
+
startSimulation() - Method in class ui.Menu
+
 
+
+A B C D G H I M P R S U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-12.html b/docs/javadoc/index-files/index-12.html new file mode 100644 index 0000000..d896a8c --- /dev/null +++ b/docs/javadoc/index-files/index-12.html @@ -0,0 +1,129 @@ + + + + + +U-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D G H I M P R S U W  + + +

U

+
+
ui - package ui
+
 
+
+A B C D G H I M P R S U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-13.html b/docs/javadoc/index-files/index-13.html new file mode 100644 index 0000000..a0aea0f --- /dev/null +++ b/docs/javadoc/index-files/index-13.html @@ -0,0 +1,131 @@ + + + + + +W-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D G H I M P R S U W  + + +

W

+
+
Winner - Class in model
+
 
+
Winner(String, int, int, int, int, int, int, String) - Constructor for class model.Winner
+
 
+
+A B C D G H I M P R S U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-2.html b/docs/javadoc/index-files/index-2.html new file mode 100644 index 0000000..d569768 --- /dev/null +++ b/docs/javadoc/index-files/index-2.html @@ -0,0 +1,131 @@ + + + + + +B-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D G H I M P R S U W  + + +

B

+
+
boardToString() - Method in class model.Game
+
+
Converts the game board in a cell string with just numbers and its snakes and ladders.
+
+
+A B C D G H I M P R S U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-3.html b/docs/javadoc/index-files/index-3.html new file mode 100644 index 0000000..8753583 --- /dev/null +++ b/docs/javadoc/index-files/index-3.html @@ -0,0 +1,133 @@ + + + + + +C-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D G H I M P R S U W  + + +

C

+
+
Cell - Class in model
+
 
+
Cell() - Constructor for class model.Cell
+
 
+
cellToString() - Method in class model.Cell
+
 
+
+A B C D G H I M P R S U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-4.html b/docs/javadoc/index-files/index-4.html new file mode 100644 index 0000000..9d2c684 --- /dev/null +++ b/docs/javadoc/index-files/index-4.html @@ -0,0 +1,129 @@ + + + + + +D-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D G H I M P R S U W  + + +

D

+
+
doOperation(int) - Method in class ui.Menu
+
 
+
+A B C D G H I M P R S U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-5.html b/docs/javadoc/index-files/index-5.html new file mode 100644 index 0000000..b90a9cb --- /dev/null +++ b/docs/javadoc/index-files/index-5.html @@ -0,0 +1,205 @@ + + + + + +G-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D G H I M P R S U W  + + +

G

+
+
Game - Class in model
+
 
+
Game(int, int, int, int, int) - Constructor for class model.Game
+
 
+
Game(int, int, int, int, String) - Constructor for class model.Game
+
 
+
gameToString() - Method in class model.Cell
+
 
+
gameToString() - Method in class model.Game
+
+
Converts the game board in a cell string with snakes, ladders and players .
+
+
getCellNumber() - Method in class model.Player
+
 
+
getColumns() - Method in class model.Game
+
 
+
getColumns() - Method in class model.Winner
+
 
+
getCont() - Method in class model.Player
+
 
+
getDown() - Method in class model.Cell
+
 
+
getInfo() - Method in class model.Cell
+
 
+
getLadder() - Method in class model.Cell
+
 
+
getLadders() - Method in class model.Game
+
 
+
getLadders() - Method in class model.Winner
+
 
+
getLeft() - Method in class model.Cell
+
 
+
getLeft() - Method in class model.Player
+
 
+
getLeft() - Method in class model.Winner
+
 
+
getNickname() - Method in class model.Winner
+
 
+
getNumber() - Method in class model.Cell
+
 
+
getParent() - Method in class model.Winner
+
 
+
getPlayer() - Method in class model.Cell
+
 
+
getPlayers() - Method in class model.Winner
+
 
+
getRight() - Method in class model.Cell
+
 
+
getRight() - Method in class model.Player
+
 
+
getRight() - Method in class model.Winner
+
 
+
getRoot() - Method in class model.RankingTree
+
 
+
getRows() - Method in class model.Game
+
 
+
getRows() - Method in class model.Winner
+
 
+
getScore() - Method in class model.Player
+
 
+
getScore() - Method in class model.Winner
+
 
+
getSnake() - Method in class model.Cell
+
 
+
getSnakes() - Method in class model.Game
+
 
+
getSnakes() - Method in class model.Winner
+
 
+
getSymbol() - Method in class model.Player
+
 
+
getSymbols() - Method in class model.Game
+
 
+
getSymbols() - Method in class model.Winner
+
 
+
getTurn() - Method in class model.Game
+
 
+
getUp() - Method in class model.Cell
+
 
+
+A B C D G H I M P R S U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-6.html b/docs/javadoc/index-files/index-6.html new file mode 100644 index 0000000..f9482e2 --- /dev/null +++ b/docs/javadoc/index-files/index-6.html @@ -0,0 +1,131 @@ + + + + + +H-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D G H I M P R S U W  + + +

H

+
+
hasSnakeOrLadder() - Method in class model.Cell
+
 
+
hasWinner() - Method in class model.Game
+
 
+
+A B C D G H I M P R S U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-7.html b/docs/javadoc/index-files/index-7.html new file mode 100644 index 0000000..1e04227 --- /dev/null +++ b/docs/javadoc/index-files/index-7.html @@ -0,0 +1,129 @@ + + + + + +I-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D G H I M P R S U W  + + +

I

+
+
increaseCont() - Method in class model.Player
+
 
+
+A B C D G H I M P R S U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-8.html b/docs/javadoc/index-files/index-8.html new file mode 100644 index 0000000..bfa1b58 --- /dev/null +++ b/docs/javadoc/index-files/index-8.html @@ -0,0 +1,141 @@ + + + + + +M-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D G H I M P R S U W  + + +

M

+
+
Main - Class in ui
+
 
+
main(String[]) - Static method in class ui.Main
+
 
+
Menu - Class in ui
+
 
+
Menu() - Constructor for class ui.Menu
+
 
+
model - package model
+
 
+
moveByTurn(int) - Method in class model.Game
+
+
Move a player depending of the turn of each one.
+
+
+A B C D G H I M P R S U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-9.html b/docs/javadoc/index-files/index-9.html new file mode 100644 index 0000000..bdc587d --- /dev/null +++ b/docs/javadoc/index-files/index-9.html @@ -0,0 +1,133 @@ + + + + + +P-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D G H I M P R S U W  + + +

P

+
+
Player - Class in model
+
 
+
Player(char) - Constructor for class model.Player
+
 
+
playGame(String) - Method in class ui.Menu
+
 
+
+A B C D G H I M P R S U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index.html b/docs/javadoc/index.html new file mode 100644 index 0000000..d847e5a --- /dev/null +++ b/docs/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/docs/javadoc/model/Cell.html b/docs/javadoc/model/Cell.html new file mode 100644 index 0000000..e01722e --- /dev/null +++ b/docs/javadoc/model/Cell.html @@ -0,0 +1,597 @@ + + + + + +Cell + + + + + + + + +
+ + + + + + + +
+ + + +
+
model
+

Class Cell

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

      Constructor Detail

      + + + +
        +
      • +

        Cell

        +
        public Cell()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getNumber

        +
        public int getNumber()
        +
        +
        Returns:
        +
        the number
        +
        +
      • +
      + + + +
        +
      • +

        setNumber

        +
        public void setNumber(int number)
        +
        +
        Parameters:
        +
        number - the number to set
        +
        +
      • +
      + + + +
        +
      • +

        getSnake

        +
        public char getSnake()
        +
        +
        Returns:
        +
        the snake
        +
        +
      • +
      + + + +
        +
      • +

        getLadder

        +
        public int getLadder()
        +
        +
        Returns:
        +
        the ladder
        +
        +
      • +
      + + + +
        +
      • +

        setSnake

        +
        public void setSnake(char snake)
        +
        +
        Parameters:
        +
        snake - the snake to set
        +
        +
      • +
      + + + +
        +
      • +

        setLadder

        +
        public void setLadder(int ladder)
        +
        +
        Parameters:
        +
        ladder - the ladder to set
        +
        +
      • +
      + + + +
        +
      • +

        hasSnakeOrLadder

        +
        public boolean hasSnakeOrLadder()
        +
      • +
      + + + +
        +
      • +

        getPlayer

        +
        public Player getPlayer()
        +
        +
        Returns:
        +
        the player
        +
        +
      • +
      + + + +
        +
      • +

        setPlayer

        +
        public void setPlayer(Player player)
        +
        +
        Parameters:
        +
        player - the player to set
        +
        +
      • +
      + + + +
        +
      • +

        getInfo

        +
        public java.lang.String getInfo()
        +
        +
        Returns:
        +
        the info
        +
        +
      • +
      + + + +
        +
      • +

        setInfo

        +
        public void setInfo(java.lang.String info)
        +
      • +
      + + + +
        +
      • +

        getRight

        +
        public Cell getRight()
        +
      • +
      + + + +
        +
      • +

        getLeft

        +
        public Cell getLeft()
        +
      • +
      + + + +
        +
      • +

        getUp

        +
        public Cell getUp()
        +
      • +
      + + + +
        +
      • +

        getDown

        +
        public Cell getDown()
        +
      • +
      + + + +
        +
      • +

        setLeft

        +
        public void setLeft(Cell left)
        +
      • +
      + + + +
        +
      • +

        setRight

        +
        public void setRight(Cell right)
        +
      • +
      + + + +
        +
      • +

        setUp

        +
        public void setUp(Cell u)
        +
      • +
      + + + +
        +
      • +

        setDown

        +
        public void setDown(Cell d)
        +
      • +
      + + + +
        +
      • +

        removePlayer

        +
        public void removePlayer(char symbol)
        +
      • +
      + + + +
        +
      • +

        addPlayer

        +
        public void addPlayer(char info)
        +
        +
        Parameters:
        +
        info - the info to set
        +
        +
      • +
      + + + +
        +
      • +

        cellToString

        +
        public java.lang.String cellToString()
        +
      • +
      + + + +
        +
      • +

        gameToString

        +
        public java.lang.String gameToString()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/model/Game.html b/docs/javadoc/model/Game.html new file mode 100644 index 0000000..5fef3b9 --- /dev/null +++ b/docs/javadoc/model/Game.html @@ -0,0 +1,471 @@ + + + + + +Game + + + + + + + + +
+ + + + + + + +
+ + + +
+
model
+

Class Game

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

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      Game(int rows, + int columns, + int snakes, + int ladders, + int players) 
      Game(int rows, + int columns, + int snakes, + int ladders, + java.lang.String players) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringboardToString() +
      Converts the game board in a cell string with just numbers and its snakes and ladders.
      +
      java.lang.StringgameToString() +
      Converts the game board in a cell string with snakes, ladders and players .
      +
      intgetColumns() 
      intgetLadders() 
      intgetRows() 
      intgetSnakes() 
      java.lang.StringgetSymbols() 
      PlayergetTurn() 
      booleanhasWinner() 
      voidmoveByTurn(int diceValue) +
      Move a player depending of the turn of each one.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

      Constructor Detail

      + + + +
        +
      • +

        Game

        +
        public Game(int rows,
        +            int columns,
        +            int snakes,
        +            int ladders,
        +            int players)
        +
      • +
      + + + +
        +
      • +

        Game

        +
        public Game(int rows,
        +            int columns,
        +            int snakes,
        +            int ladders,
        +            java.lang.String players)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getTurn

        +
        public Player getTurn()
        +
        +
        Returns:
        +
        the turn
        +
        +
      • +
      + + + +
        +
      • +

        getSymbols

        +
        public java.lang.String getSymbols()
        +
        +
        Returns:
        +
        the symbols
        +
        +
      • +
      + + + +
        +
      • +

        getColumns

        +
        public int getColumns()
        +
        +
        Returns:
        +
        the columns
        +
        +
      • +
      + + + +
        +
      • +

        getRows

        +
        public int getRows()
        +
        +
        Returns:
        +
        the rows
        +
        +
      • +
      + + + +
        +
      • +

        getSnakes

        +
        public int getSnakes()
        +
        +
        Returns:
        +
        the snakes
        +
        +
      • +
      + + + +
        +
      • +

        getLadders

        +
        public int getLadders()
        +
        +
        Returns:
        +
        the ladders
        +
        +
      • +
      + + + +
        +
      • +

        moveByTurn

        +
        public void moveByTurn(int diceValue)
        +
        Move a player depending of the turn of each one.
        + pre: The diceValue a number in a range.
        + post: Has move the player by its turn respectively.
        +
        +
        Parameters:
        +
        diceValue - The dice value. diceValue >= 1 and <=6.
        +
        +
      • +
      + + + +
        +
      • +

        hasWinner

        +
        public boolean hasWinner()
        +
      • +
      + + + +
        +
      • +

        boardToString

        +
        public java.lang.String boardToString()
        +
        Converts the game board in a cell string with just numbers and its snakes and ladders.
        + pre: The current is not null.
        + post: Has returned the string of players.
        +
        +
        Parameters:
        +
        current - The first player in the linked list. current != null.
        +
        Returns:
        +
        message A string containing the players symbols.
        +
        +
      • +
      + + + +
        +
      • +

        gameToString

        +
        public java.lang.String gameToString()
        +
        Converts the game board in a cell string with snakes, ladders and players .
        + pre: The current is not null.
        + post: Has returned the string of players.
        +
        +
        Parameters:
        +
        current - The first player in the linked list. current != null.
        +
        Returns:
        +
        message A string containing the players symbols.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/model/Player.html b/docs/javadoc/model/Player.html new file mode 100644 index 0000000..2e2af59 --- /dev/null +++ b/docs/javadoc/model/Player.html @@ -0,0 +1,458 @@ + + + + + +Player + + + + + + + + +
+ + + + + + + +
+ + + +
+
model
+

Class Player

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

      Constructor Detail

      + + + +
        +
      • +

        Player

        +
        public Player(char symbol)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getSymbol

        +
        public char getSymbol()
        +
        +
        Returns:
        +
        the symbol
        +
        +
      • +
      + + + +
        +
      • +

        setSymbol

        +
        public void setSymbol(char symbol)
        +
        +
        Parameters:
        +
        symbol - the symbol to set
        +
        +
      • +
      + + + +
        +
      • +

        getCont

        +
        public int getCont()
        +
        +
        Returns:
        +
        the cont
        +
        +
      • +
      + + + +
        +
      • +

        getScore

        +
        public int getScore()
        +
        +
        Returns:
        +
        the score
        +
        +
      • +
      + + + +
        +
      • +

        setScore

        +
        public void setScore(int size)
        +
        +
        Parameters:
        +
        size - the size to operate
        +
        +
      • +
      + + + +
        +
      • +

        getCellNumber

        +
        public int getCellNumber()
        +
        +
        Returns:
        +
        the cellNumber
        +
        +
      • +
      + + + +
        +
      • +

        setCellNumber

        +
        public void setCellNumber(int cellNumber)
        +
        +
        Parameters:
        +
        cellNumber - the cellNumber to set
        +
        +
      • +
      + + + +
        +
      • +

        getRight

        +
        public Player getRight()
        +
        +
        Returns:
        +
        the right
        +
        +
      • +
      + + + +
        +
      • +

        setRight

        +
        public void setRight(Player right)
        +
        +
        Parameters:
        +
        right - the right to set
        +
        +
      • +
      + + + +
        +
      • +

        getLeft

        +
        public Player getLeft()
        +
        +
        Returns:
        +
        the left
        +
        +
      • +
      + + + +
        +
      • +

        setLeft

        +
        public void setLeft(Player left)
        +
        +
        Parameters:
        +
        left - the left to set
        +
        +
      • +
      + + + +
        +
      • +

        increaseCont

        +
        public void increaseCont()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/model/RankingTree.html b/docs/javadoc/model/RankingTree.html new file mode 100644 index 0000000..0a1a516 --- /dev/null +++ b/docs/javadoc/model/RankingTree.html @@ -0,0 +1,335 @@ + + + + + +RankingTree + + + + + + + + +
+ + + + + + + +
+ + + +
+
model
+

Class RankingTree

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

      Constructor Summary

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

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidaddWinner(java.lang.String nickname, + int score, + int columns, + int rows, + int snakes, + int ladders, + int players, + java.lang.String symbols) +
      Add a player which won the game.
      +
      WinnergetRoot() 
      voidsetRoot(Winner root) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

      Constructor Detail

      + + + +
        +
      • +

        RankingTree

        +
        public RankingTree()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getRoot

        +
        public Winner getRoot()
        +
        +
        Returns:
        +
        the root
        +
        +
      • +
      + + + +
        +
      • +

        setRoot

        +
        public void setRoot(Winner root)
        +
        +
        Parameters:
        +
        root - the root to set
        +
        +
      • +
      + + + +
        +
      • +

        addWinner

        +
        public void addWinner(java.lang.String nickname,
        +                      int score,
        +                      int columns,
        +                      int rows,
        +                      int snakes,
        +                      int ladders,
        +                      int players,
        +                      java.lang.String symbols)
        +
        Add a player which won the game.
        + pre: The player score, columns, rows, snakes, ladders and number of players should not be zero. Also, symbols is not empty.
        + post: Has added the player to the ranking binary tree.
        +
        +
        Parameters:
        +
        nickname - The player nickname . nickname != "".
        +
        score - The player score. score != 0.
        +
        columns - The game columns.
        +
        rows - The game rows.
        +
        snakes - The game snakes.
        +
        ladders - The game ladders
        +
        players - The number of players of the game.
        +
        symbols - The symbols used in the game.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/model/Winner.html b/docs/javadoc/model/Winner.html new file mode 100644 index 0000000..37d1d08 --- /dev/null +++ b/docs/javadoc/model/Winner.html @@ -0,0 +1,667 @@ + + + + + +Winner + + + + + + + + +
+ + + + + + + +
+ + + +
+
model
+

Class Winner

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

      Constructor Detail

      + + + +
        +
      • +

        Winner

        +
        public Winner(java.lang.String nickname,
        +              int score,
        +              int columns,
        +              int rows,
        +              int snakes,
        +              int ladders,
        +              int players,
        +              java.lang.String symbols)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getNickname

        +
        public java.lang.String getNickname()
        +
        +
        Returns:
        +
        the nickname
        +
        +
      • +
      + + + +
        +
      • +

        setNickname

        +
        public void setNickname(java.lang.String nickname)
        +
        +
        Parameters:
        +
        nickname - the nickname to set
        +
        +
      • +
      + + + +
        +
      • +

        getScore

        +
        public int getScore()
        +
        +
        Returns:
        +
        the score
        +
        +
      • +
      + + + +
        +
      • +

        setScore

        +
        public void setScore(int score)
        +
        +
        Parameters:
        +
        score - the score to set
        +
        +
      • +
      + + + +
        +
      • +

        getColumns

        +
        public int getColumns()
        +
        +
        Returns:
        +
        the columns
        +
        +
      • +
      + + + +
        +
      • +

        setColumns

        +
        public void setColumns(int columns)
        +
        +
        Parameters:
        +
        columns - the columns to set
        +
        +
      • +
      + + + +
        +
      • +

        getRows

        +
        public int getRows()
        +
        +
        Returns:
        +
        the rows
        +
        +
      • +
      + + + +
        +
      • +

        setRows

        +
        public void setRows(int rows)
        +
        +
        Parameters:
        +
        rows - the rows to set
        +
        +
      • +
      + + + +
        +
      • +

        getSnakes

        +
        public int getSnakes()
        +
        +
        Returns:
        +
        the snakes
        +
        +
      • +
      + + + +
        +
      • +

        setSnakes

        +
        public void setSnakes(int snakes)
        +
        +
        Parameters:
        +
        snakes - the snakes to set
        +
        +
      • +
      + + + +
        +
      • +

        getLadders

        +
        public int getLadders()
        +
        +
        Returns:
        +
        the ladders
        +
        +
      • +
      + + + +
        +
      • +

        setLadders

        +
        public void setLadders(int ladders)
        +
        +
        Parameters:
        +
        ladders - the ladders to set
        +
        +
      • +
      + + + +
        +
      • +

        getPlayers

        +
        public int getPlayers()
        +
        +
        Returns:
        +
        the players
        +
        +
      • +
      + + + +
        +
      • +

        setPlayers

        +
        public void setPlayers(int players)
        +
        +
        Parameters:
        +
        players - the players to set
        +
        +
      • +
      + + + +
        +
      • +

        getSymbols

        +
        public java.lang.String getSymbols()
        +
        +
        Returns:
        +
        the symbols
        +
        +
      • +
      + + + +
        +
      • +

        setSymbols

        +
        public void setSymbols(java.lang.String symbols)
        +
        +
        Parameters:
        +
        symbols - the symbols to set
        +
        +
      • +
      + + + +
        +
      • +

        getParent

        +
        public Winner getParent()
        +
        +
        Returns:
        +
        the parent
        +
        +
      • +
      + + + +
        +
      • +

        setParent

        +
        public void setParent(Winner parent)
        +
        +
        Parameters:
        +
        parent - the parent to set
        +
        +
      • +
      + + + +
        +
      • +

        getLeft

        +
        public Winner getLeft()
        +
        +
        Returns:
        +
        the left
        +
        +
      • +
      + + + +
        +
      • +

        setLeft

        +
        public void setLeft(Winner left)
        +
        +
        Parameters:
        +
        left - the left to set
        +
        +
      • +
      + + + +
        +
      • +

        getRight

        +
        public Winner getRight()
        +
        +
        Returns:
        +
        the right
        +
        +
      • +
      + + + +
        +
      • +

        setRight

        +
        public void setRight(Winner right)
        +
        +
        Parameters:
        +
        rigth - the right to set
        +
        +
      • +
      + + + +
        +
      • +

        showData

        +
        public java.lang.String showData()
        +
        Returns the winner data in a string form.
        + post: Has returned the winner data.
        +
        +
        Returns:
        +
        a message containing the winner info.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/model/class-use/Cell.html b/docs/javadoc/model/class-use/Cell.html new file mode 100644 index 0000000..d7bbdf0 --- /dev/null +++ b/docs/javadoc/model/class-use/Cell.html @@ -0,0 +1,201 @@ + + + + + +Uses of Class model.Cell + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
model.Cell

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/model/class-use/Game.html b/docs/javadoc/model/class-use/Game.html new file mode 100644 index 0000000..35b0a95 --- /dev/null +++ b/docs/javadoc/model/class-use/Game.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class model.Game + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
model.Game

+
+
No usage of model.Game
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/model/class-use/Player.html b/docs/javadoc/model/class-use/Player.html new file mode 100644 index 0000000..592f09a --- /dev/null +++ b/docs/javadoc/model/class-use/Player.html @@ -0,0 +1,197 @@ + + + + + +Uses of Class model.Player + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
model.Player

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/model/class-use/RankingTree.html b/docs/javadoc/model/class-use/RankingTree.html new file mode 100644 index 0000000..ab508a0 --- /dev/null +++ b/docs/javadoc/model/class-use/RankingTree.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class model.RankingTree + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
model.RankingTree

+
+
No usage of model.RankingTree
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/model/class-use/Winner.html b/docs/javadoc/model/class-use/Winner.html new file mode 100644 index 0000000..831b113 --- /dev/null +++ b/docs/javadoc/model/class-use/Winner.html @@ -0,0 +1,223 @@ + + + + + +Uses of Class model.Winner + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
model.Winner

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/model/package-frame.html b/docs/javadoc/model/package-frame.html new file mode 100644 index 0000000..07ef61d --- /dev/null +++ b/docs/javadoc/model/package-frame.html @@ -0,0 +1,24 @@ + + + + + +model + + + + + +

model

+
+

Classes

+ +
+ + diff --git a/docs/javadoc/model/package-summary.html b/docs/javadoc/model/package-summary.html new file mode 100644 index 0000000..2c0cc8f --- /dev/null +++ b/docs/javadoc/model/package-summary.html @@ -0,0 +1,158 @@ + + + + + +model + + + + + + + + +
+ + + + + + + +
+ + +
+

Package model

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/model/package-tree.html b/docs/javadoc/model/package-tree.html new file mode 100644 index 0000000..172183a --- /dev/null +++ b/docs/javadoc/model/package-tree.html @@ -0,0 +1,141 @@ + + + + + +model Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package model

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/model/package-use.html b/docs/javadoc/model/package-use.html new file mode 100644 index 0000000..ada1c54 --- /dev/null +++ b/docs/javadoc/model/package-use.html @@ -0,0 +1,182 @@ + + + + + +Uses of Package model + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
model

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/overview-frame.html b/docs/javadoc/overview-frame.html new file mode 100644 index 0000000..ea7a9bc --- /dev/null +++ b/docs/javadoc/overview-frame.html @@ -0,0 +1,22 @@ + + + + + +Overview List + + + + + +
All Classes
+
+

Packages

+ +
+

 

+ + diff --git a/docs/javadoc/overview-summary.html b/docs/javadoc/overview-summary.html new file mode 100644 index 0000000..3f4a495 --- /dev/null +++ b/docs/javadoc/overview-summary.html @@ -0,0 +1,142 @@ + + + + + +Overview + + + + + + + + +
+ + + + + + + +
+ + +
+

Snakes and Ladders javadoc

+
+
+ + + + + + + + + + + + + + + + +
Packages 
PackageDescription
model 
ui 
+
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/overview-tree.html b/docs/javadoc/overview-tree.html new file mode 100644 index 0000000..0e43bda --- /dev/null +++ b/docs/javadoc/overview-tree.html @@ -0,0 +1,144 @@ + + + + + +Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/package-list b/docs/javadoc/package-list new file mode 100644 index 0000000..92a2182 --- /dev/null +++ b/docs/javadoc/package-list @@ -0,0 +1,2 @@ +model +ui diff --git a/docs/javadoc/script.js b/docs/javadoc/script.js new file mode 100644 index 0000000..b346356 --- /dev/null +++ b/docs/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/docs/javadoc/stylesheet.css b/docs/javadoc/stylesheet.css new file mode 100644 index 0000000..98055b2 --- /dev/null +++ b/docs/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/docs/javadoc/ui/Main.html b/docs/javadoc/ui/Main.html new file mode 100644 index 0000000..1ce7902 --- /dev/null +++ b/docs/javadoc/ui/Main.html @@ -0,0 +1,245 @@ + + + + + +Main + + + + + + + + +
+ + + + + + + +
+ + + +
+
ui
+

Class Main

+
+
+ +
+
    +
  • +
    +
    +
    public class Main
    +extends java.lang.Object
    +
    +
    Author:
    +
    ALEX JR, Santiago Arevalo
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

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

        Methods inherited from class java.lang.Object

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

      Method Detail

      + + + +
        +
      • +

        main

        +
        public static void main(java.lang.String[] args)
        +
        +
        Parameters:
        +
        args -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/ui/Menu.html b/docs/javadoc/ui/Menu.html new file mode 100644 index 0000000..a863780 --- /dev/null +++ b/docs/javadoc/ui/Menu.html @@ -0,0 +1,415 @@ + + + + + +Menu + + + + + + + + +
+ + + + + + + +
+ + + +
+
ui
+

Class Menu

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

      Constructor Detail

      + + + +
        +
      • +

        Menu

        +
        public Menu()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        showMenu

        +
        public void showMenu()
        +
      • +
      + + + +
        +
      • +

        readOption

        +
        public int readOption()
        +               throws java.lang.NumberFormatException,
        +                      java.io.IOException
        +
        +
        Throws:
        +
        java.lang.NumberFormatException
        +
        java.io.IOException
        +
        +
      • +
      + + + +
        +
      • +

        readGame

        +
        public void readGame()
        +              throws java.io.IOException,
        +                     java.lang.InterruptedException
        +
        +
        Throws:
        +
        java.io.IOException
        +
        java.lang.InterruptedException
        +
        +
      • +
      + + + +
        +
      • +

        playGame

        +
        public void playGame(java.lang.String input)
        +              throws java.io.IOException,
        +                     java.lang.InterruptedException
        +
        +
        Throws:
        +
        java.io.IOException
        +
        java.lang.InterruptedException
        +
        +
      • +
      + + + +
        +
      • +

        startSimulation

        +
        public void startSimulation()
        +                     throws java.lang.InterruptedException
        +
        +
        Throws:
        +
        java.lang.InterruptedException
        +
        +
      • +
      + + + +
        +
      • +

        addWinner

        +
        public void addWinner(java.lang.String nickname)
        +
      • +
      + + + +
        +
      • +

        showRankingTree

        +
        public void showRankingTree(Winner current)
        +
      • +
      + + + +
        +
      • +

        doOperation

        +
        public void doOperation(int choice)
        +                 throws java.lang.InterruptedException
        +
        +
        Throws:
        +
        java.lang.InterruptedException
        +
        +
      • +
      + + + +
        +
      • +

        startProgram

        +
        public void startProgram()
        +                  throws java.lang.NumberFormatException,
        +                         java.io.IOException,
        +                         java.lang.InterruptedException
        +
        +
        Throws:
        +
        java.lang.NumberFormatException
        +
        java.io.IOException
        +
        java.lang.InterruptedException
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/ui/class-use/Main.html b/docs/javadoc/ui/class-use/Main.html new file mode 100644 index 0000000..d8d20d3 --- /dev/null +++ b/docs/javadoc/ui/class-use/Main.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class ui.Main + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
ui.Main

+
+
No usage of ui.Main
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/ui/class-use/Menu.html b/docs/javadoc/ui/class-use/Menu.html new file mode 100644 index 0000000..2156fef --- /dev/null +++ b/docs/javadoc/ui/class-use/Menu.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class ui.Menu + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
ui.Menu

+
+
No usage of ui.Menu
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/ui/package-frame.html b/docs/javadoc/ui/package-frame.html new file mode 100644 index 0000000..073c7fd --- /dev/null +++ b/docs/javadoc/ui/package-frame.html @@ -0,0 +1,21 @@ + + + + + +ui + + + + + +

ui

+
+

Classes

+ +
+ + diff --git a/docs/javadoc/ui/package-summary.html b/docs/javadoc/ui/package-summary.html new file mode 100644 index 0000000..10fc393 --- /dev/null +++ b/docs/javadoc/ui/package-summary.html @@ -0,0 +1,146 @@ + + + + + +ui + + + + + + + + +
+ + + + + + + +
+ + +
+

Package ui

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/ui/package-tree.html b/docs/javadoc/ui/package-tree.html new file mode 100644 index 0000000..8559236 --- /dev/null +++ b/docs/javadoc/ui/package-tree.html @@ -0,0 +1,138 @@ + + + + + +ui Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package ui

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/ui/package-use.html b/docs/javadoc/ui/package-use.html new file mode 100644 index 0000000..85f60ba --- /dev/null +++ b/docs/javadoc/ui/package-use.html @@ -0,0 +1,124 @@ + + + + + +Uses of Package ui + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
ui

+
+
No usage of ui
+ +
+ + + + + + + +
+ + + +