Index

A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

P

paintComponent(Graphics) - Method in class be.belegkarnil.game.board.tak.gui.CellDrawer
 
paintComponent(Graphics) - Method in class be.belegkarnil.game.board.tak.gui.TimePanel
 
PATH_COMPLETED - Enum constant in enum class be.belegkarnil.game.board.tak.Game.WinningReason
Occurs when a player completed a path (bottom-up, left-right)
pathExists(int, int, Color) - Method in class be.belegkarnil.game.board.tak.Board
Know if a path exists to link left to right or top to down
pathExists(Point, Color) - Method in class be.belegkarnil.game.board.tak.Board
Know if a path exists to link left to right or top to down
piece - Variable in class be.belegkarnil.game.board.tak.Action
The piece played during the action
piece - Variable in class be.belegkarnil.game.board.tak.event.MisdesignEvent
is the piece that the player tried to play (or MisdesignEvent.NO_PIECE)
Piece - Enum Class in be.belegkarnil.game.board.tak
TODO comments
PiecesPanel - Class in be.belegkarnil.game.board.tak.gui
This class is a GUI component of the Game.
PiecesPanel() - Constructor for class be.belegkarnil.game.board.tak.gui.PiecesPanel
 
place(Piece, Point) - Method in class be.belegkarnil.game.board.tak.Board
Place a Piece on the board at a given position
player - Variable in class be.belegkarnil.game.board.tak.event.MisdesignEvent
is the {link @Player} that generate the event
Player - Class in be.belegkarnil.game.board.tak
This class represents a Tak player that use a Strategy and owns some Pieces.
Player(String, Strategy) - Constructor for class be.belegkarnil.game.board.tak.Player
Construct a new player
plays(Player, Board, Player) - Method in class be.belegkarnil.game.board.tak.strategy.HMIStrategy
Override the Strategy.plays(Player, Board, Player) and return what defined by the GUI interface after calling HMIStrategy.setAction(Action)
plays(Player, Board, Player) - Method in class be.belegkarnil.game.board.tak.strategy.RandomStrategy
Override the Strategy.plays(Player, Board, Player) and try to play randomy a valid action.
plays(Player, Board, Player) - Method in class be.belegkarnil.game.board.tak.strategy.SkipStrategy
plays(Player, Board, Player) - Method in interface be.belegkarnil.game.board.tak.strategy.Strategy
The method represents the choice made by the strategy based on the current player the use the strategy, the current board status and his opponent
position - Variable in class be.belegkarnil.game.board.tak.Action
The position at which to put the piece during the action, or the src of a move
position - Variable in class be.belegkarnil.game.board.tak.event.MisdesignEvent
is the position at which the player tried to play a piece (or MisdesignEvent.NO_POSITION)
A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form