Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
G
- game - Variable in class be.belegkarnil.game.board.spectrangle.event.GameEvent
-
is the {link @Game} related to this event (i.e.
- game - Variable in class be.belegkarnil.game.board.spectrangle.event.RoundEvent
-
is the {link @Game} related to this event (i.e.
- game - Variable in class be.belegkarnil.game.board.spectrangle.event.TurnEvent
-
is the {link @Game} related to this event (i.e.
- Game - Class in be.belegkarnil.game.board.spectrangle
-
The class implements the behavior of the Spectrangle game (a modified two players version with skip and penalities)
- Game(Board, Player, Player) - Constructor for class be.belegkarnil.game.board.spectrangle.Game
-
Construct a game with default settings (
Game.DEFAULT_TIMEOUT,Game.DEFAULT_NUMBER_OF_WINNING_ROUNDS,Game.DEFAULT_SKIP_LIMIT, andGame.DEFAULT_SKIP_PENALTY) - Game(Board, Player, Player, int, int, int, int) - Constructor for class be.belegkarnil.game.board.spectrangle.Game
-
Construct a game with custom settings
- GameAdapter - Class in be.belegkarnil.game.board.spectrangle.event
-
An abstract adapter class for receiving game events.
- GameAdapter() - Constructor for class be.belegkarnil.game.board.spectrangle.event.GameAdapter
- GameEvent - Class in be.belegkarnil.game.board.spectrangle.event
-
This event is used to notify interested parties that the game state is changed during a
Game. - GameEvent(Game, Player, Player) - Constructor for class be.belegkarnil.game.board.spectrangle.event.GameEvent
-
Constructor that does not define a winner (
GameEvent.NO_WINNER), designed for begin events. - GameEvent(Game, Player, Player, Player) - Constructor for class be.belegkarnil.game.board.spectrangle.event.GameEvent
-
Constructor requires a winner (
GameEvent.NO_WINNER), designed for end events. - GameListener - Interface in be.belegkarnil.game.board.spectrangle.event
-
The listener interface for receiving "interesting" game events (begin, and end) during a game.
- getBag() - Method in class be.belegkarnil.game.board.spectrangle.Board
- getBaseColor(int, int) - Method in class be.belegkarnil.game.board.spectrangle.Board
-
Get the base color (always consider base triangle at bottom) at a position
- getBaseColor(Point) - Method in class be.belegkarnil.game.board.spectrangle.Board
-
Get the base color (always consider base triangle at bottom) at a position
- getBaseNeighbour(Point) - Method in class be.belegkarnil.game.board.spectrangle.Board
-
Get the base position of a given position
- getBaseValue(Point) - Method in class be.belegkarnil.game.board.spectrangle.Board
-
Get the piece value at the base neighbor of a given position
- getBoard() - Method in class be.belegkarnil.game.board.spectrangle.Game
-
Get the current board used by the running game
- getBonus() - Method in class be.belegkarnil.game.board.spectrangle.gui.TriangleCellDrawer
- getBorder() - Method in class be.belegkarnil.game.board.spectrangle.gui.TriangleCellDrawer
- getCell(Point) - Method in class be.belegkarnil.game.board.spectrangle.gui.BoardPanel
- getCellPosition(Point) - Method in class be.belegkarnil.game.board.spectrangle.gui.BoardPanel
- getFactor(int, int) - Method in class be.belegkarnil.game.board.spectrangle.Board
-
Get the factor/multiplier value at a given position
- getFactor(Point) - Method in class be.belegkarnil.game.board.spectrangle.Board
-
Get the factor/multiplier value at a given position
- getFirstPlayer() - Method in class be.belegkarnil.game.board.spectrangle.Game
-
Get the first player involved in the game
- getLeftColor(int, int) - Method in class be.belegkarnil.game.board.spectrangle.Board
-
Get the left color (always consider base triangle at bottom) at a position
- getLeftColor(Point) - Method in class be.belegkarnil.game.board.spectrangle.Board
-
Get the left color (always consider base triangle at bottom) at a position
- getLeftNeighbour(Point) - Method in class be.belegkarnil.game.board.spectrangle.Board
-
Get the left position of a given position
- getLeftValue(Point) - Method in class be.belegkarnil.game.board.spectrangle.Board
-
Get the piece value at the left neighbor of a given position
- getName() - Method in class be.belegkarnil.game.board.spectrangle.Player
-
Get the player's name
- getNeighbours(Point) - Method in class be.belegkarnil.game.board.spectrangle.Board
-
Get the neighbors position of a position
- getPieces() - Method in class be.belegkarnil.game.board.spectrangle.Player
-
Get a copy of the
Pieces owned by the player - getPosition(String) - Method in class be.belegkarnil.game.board.spectrangle.gui.PiecesPanel
- getRightColor(int, int) - Method in class be.belegkarnil.game.board.spectrangle.Board
-
Get the right color (always consider base triangle at bottom) at a position
- getRightColor(Point) - Method in class be.belegkarnil.game.board.spectrangle.Board
-
Get the right color (always consider base triangle at bottom) at a position
- getRightNeighbour(Point) - Method in class be.belegkarnil.game.board.spectrangle.Board
-
Get the right position of a given position
- getRightValue(Point) - Method in class be.belegkarnil.game.board.spectrangle.Board
-
Get the piece value at the right neighbor of a given position
- getRound() - Method in class be.belegkarnil.game.board.spectrangle.Game
-
Get the current round identifier (counter)
- getScore() - Method in class be.belegkarnil.game.board.spectrangle.Player
-
Get the current (round) score
- getSecondPlayer() - Method in class be.belegkarnil.game.board.spectrangle.Game
-
Get the second player involved in the game
- getSize() - Method in class be.belegkarnil.game.board.spectrangle.Board
-
Get the reference size of this board
- getSkipLimit() - Method in class be.belegkarnil.game.board.spectrangle.Game
-
Get the number of skip turns to stop the game
- getStrategy() - Method in class be.belegkarnil.game.board.spectrangle.Player
-
Get the strategy used by the player
- getTimeout() - Method in class be.belegkarnil.game.board.spectrangle.Game
-
Get the number of second a player has to select an
Action - getTurn() - Method in class be.belegkarnil.game.board.spectrangle.Game
-
Get the current turn identifier (counter)
- getValue(int, int) - Method in class be.belegkarnil.game.board.spectrangle.Board
-
Get value at a given position
- getValue(Point) - Method in class be.belegkarnil.game.board.spectrangle.Board
-
Get value at a given position
- getWinningRounds() - Method in class be.belegkarnil.game.board.spectrangle.Game
-
Get the number of rounds to be won in order to win the game
- GREEN - Enum constant in enum class be.belegkarnil.game.board.spectrangle.Piece
- GREEN_BLUE - Enum constant in enum class be.belegkarnil.game.board.spectrangle.Piece
- GREEN_BLUE_PURPLE - Enum constant in enum class be.belegkarnil.game.board.spectrangle.Piece
- GREEN_BLUE_YELLOW - Enum constant in enum class be.belegkarnil.game.board.spectrangle.Piece
- GREEN_COLOR - Static variable in class be.belegkarnil.game.board.spectrangle.Constants
- GREEN_PURPLE - Enum constant in enum class be.belegkarnil.game.board.spectrangle.Piece
- GREEN_PURPLE_BLUE - Enum constant in enum class be.belegkarnil.game.board.spectrangle.Piece
- GREEN_PURPLE_RED - Enum constant in enum class be.belegkarnil.game.board.spectrangle.Piece
- GREEN_PURPLE_YELLOW - Enum constant in enum class be.belegkarnil.game.board.spectrangle.Piece
- GREEN_RED - Enum constant in enum class be.belegkarnil.game.board.spectrangle.Piece
- GREEN_RED_BLUE - Enum constant in enum class be.belegkarnil.game.board.spectrangle.Piece
- GREEN_YELLOW - Enum constant in enum class be.belegkarnil.game.board.spectrangle.Piece
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form