B C E G I M N P R S T V Y
All Classes All Packages
All Classes All Packages
All Classes All Packages
G
- GameModel - Class in model
-
This class represents the logic of a game where a board is updated on each step of the game animation.
- GameModel(int, int) - Constructor for class model.GameModel
-
Creates a rectangular board of the specified size, filling it with BoardCell.EMPTY cells.
- getBoard() - Method in class model.GameModel
-
Returns a reference to the board without making any kind of copy.
- getBoardCell(int, int) - Method in class model.GameModel
-
Returns the value at a given location of the board
- getColor() - Method in enum model.BoardCell
- getCols() - Method in class model.GameModel
-
Returns the number of columns on the board
- getName() - Method in enum model.BoardCell
- getNonEmptyRandomBoardCell(Random) - Static method in enum model.BoardCell
-
Generates a random BoardCell using the specified Random object.
- getRows() - Method in class model.GameModel
-
Returns the number of rows on the board
- getScore() - Method in class model.ClearCellGameModel
-
Returns the player's score.
- getScore() - Method in class model.GameModel
- getTotalColors() - Static method in enum model.BoardCell
- GREEN - model.BoardCell
All Classes All Packages