Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
G
- game - Variable in class be.belegkarnil.game.board.tak.event.GameEvent
-
is the {link @Game} related to this event (i.e.
- game - Variable in class be.belegkarnil.game.board.tak.event.RoundEvent
-
is the {link @Game} related to this event (i.e.
- game - Variable in class be.belegkarnil.game.board.tak.event.TurnEvent
-
is the {link @Game} related to this event (i.e.
- Game - Class in be.belegkarnil.game.board.tak
-
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.tak.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.tak.Game
-
Construct a game with custom settings
- Game.WinningReason - Enum Class in be.belegkarnil.game.board.tak
-
Is an enumeration that express all the winning reasons
- GameAdapter - Class in be.belegkarnil.game.board.tak.event
-
An abstract adapter class for receiving game events.
- GameAdapter() - Constructor for class be.belegkarnil.game.board.tak.event.GameAdapter
- GameEvent - Class in be.belegkarnil.game.board.tak.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.tak.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.tak.event.GameEvent
-
Constructor requires a winner (
GameEvent.NO_WINNER), designed for end events. - GameListener - Interface in be.belegkarnil.game.board.tak.event
-
The listener interface for receiving "interesting" game events (begin, and end) during a game.
- getAmount() - Method in class be.belegkarnil.game.board.tak.Action
-
Get a copy of the amount array (move action)
- getBoard() - Method in class be.belegkarnil.game.board.tak.Game
-
Get the current board used by the running game
- getCellPosition(Component) - Method in class be.belegkarnil.game.board.tak.gui.BoardPanel
- getColor() - Method in class be.belegkarnil.game.board.tak.Player
-
Get the current assigned color of the player
- getFirstPlayer() - Method in class be.belegkarnil.game.board.tak.Game
-
Get the first player involved in the game
- getLoadLimit() - Method in class be.belegkarnil.game.board.tak.Board
-
Get the load limit of a stack defined in the rules (i.e.
- getName() - Method in class be.belegkarnil.game.board.tak.Player
-
Get the player's name
- getNeighbors(Point) - Method in class be.belegkarnil.game.board.tak.Board
-
Get neighbors positions of a cell in the board
- getPieces() - Method in class be.belegkarnil.game.board.tak.Player
-
Get a dictionary of amount of
Pieces that the player has. - getRound() - Method in class be.belegkarnil.game.board.tak.Game
-
Get the current round identifier (counter)
- getScore() - Method in class be.belegkarnil.game.board.tak.Player
-
Get the current (round) score
- getSecondPlayer() - Method in class be.belegkarnil.game.board.tak.Game
-
Get the second player involved in the game
- getSize() - Method in class be.belegkarnil.game.board.tak.Board
-
Get the board size
- getSkipLimit() - Method in class be.belegkarnil.game.board.tak.Game
-
Get the number of skip turns to stop the game
- getStack(int, int) - Method in class be.belegkarnil.game.board.tak.Board
-
Get the stack of
Pieces at a given position (bottom is at position 0, top at stack length -1) - getStack(Point) - Method in class be.belegkarnil.game.board.tak.Board
-
Get the stack of
Pieces at a given position (bottom is at position 0, top at stack length -1) - getStrategy() - Method in class be.belegkarnil.game.board.tak.Player
-
Get the strategy used by the player
- getTimeout() - Method in class be.belegkarnil.game.board.tak.Game
-
Get the number of second a player has to select an
Action - getTop(int, int) - Method in class be.belegkarnil.game.board.tak.Board
-
Get the Piece (at top of a stack) at a given position
- getTop(Point) - Method in class be.belegkarnil.game.board.tak.Board
-
Get the Piece (at top of a stack) at a given position
- getTurn() - Method in class be.belegkarnil.game.board.tak.Game
-
Get the current turn identifier (counter)
- getWinningRounds() - Method in class be.belegkarnil.game.board.tak.Game
-
Get the number of rounds to be won in order to win the game
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form