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

R

RandomStrategy - Class in be.belegkarnil.game.board.tak.strategy
This Strategy represents a strategy that randomly plays.
RandomStrategy() - Constructor for class be.belegkarnil.game.board.tak.strategy.RandomStrategy
Initialize the RandomStrategy (i.e.
readExternal(ObjectInput) - Method in class be.belegkarnil.game.board.tak.Player
reason - Variable in class be.belegkarnil.game.board.tak.event.RoundEvent
Defined only if winner is defined, this is the reason why the winner wins
register(Game) - Method in class be.belegkarnil.game.board.tak.strategy.RandomStrategy
 
register(Game) - Method in interface be.belegkarnil.game.board.tak.strategy.Strategy
This method is called before a game starts in order to allow the strategy to listen events.
register(Game) - Method in class be.belegkarnil.game.board.tak.strategy.StrategyAdapter
removeGameListener(GameListener) - Method in class be.belegkarnil.game.board.tak.Game
Unregister a GameListener to stop forwarding GameEvent
removeMisdesignListener(MisdesignListener) - Method in class be.belegkarnil.game.board.tak.Game
Unregister a MisdesignListener to stop forwarding MisdesignEvent
removeRoundListener(RoundListener) - Method in class be.belegkarnil.game.board.tak.Game
Unregister a RoundListener to stop forwarding RoundEvent
removeTurnListener(TurnListener) - Method in class be.belegkarnil.game.board.tak.Game
Unregister a TurnListener to stop forwarding TurnEvent
reset() - Method in class be.belegkarnil.game.board.tak.Board
Reset the board, remove all pieces
reset() - Method in class be.belegkarnil.game.board.tak.gui.BoardPanel
 
reset() - Method in class be.belegkarnil.game.board.tak.gui.PiecesPanel
 
round - Variable in class be.belegkarnil.game.board.tak.event.RoundEvent
is the identifier (counter) of the related round.
round - Variable in class be.belegkarnil.game.board.tak.event.TurnEvent
is the identifier (counter) of the related round.
RoundAdapter - Class in be.belegkarnil.game.board.tak.event
An abstract adapter class for receiving round events.
RoundAdapter() - Constructor for class be.belegkarnil.game.board.tak.event.RoundAdapter
 
RoundEvent - Class in be.belegkarnil.game.board.tak.event
This event is used to notify interested parties that the turn state is changed during a Game.
RoundEvent(Game, Player, Player, int) - Constructor for class be.belegkarnil.game.board.tak.event.RoundEvent
Constructor that does not define a winner (GameEvent.NO_WINNER), designed for begin events.
RoundEvent(Game, Player, Player, int, Player, Game.WinningReason) - Constructor for class be.belegkarnil.game.board.tak.event.RoundEvent
Constructor requires a winner (GameEvent.NO_WINNER), designed for end events.
RoundListener - Interface in be.belegkarnil.game.board.tak.event
The listener interface for receiving "interesting" round events (begin, and end) during a game.
run() - Method in class be.belegkarnil.game.board.tak.Game
is the method called by the Java Thread mechanism which consist only in calling Game.executeGame()
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