Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
P
- paintComponent(Graphics) - Method in class be.belegkarnil.game.board.spectrangle.gui.BoardPanel
- paintComponent(Graphics) - Method in class be.belegkarnil.game.board.spectrangle.gui.TimePanel
- piece - Variable in class be.belegkarnil.game.board.spectrangle.Action
-
The piece played during the action
- piece - Variable in class be.belegkarnil.game.board.spectrangle.event.MisdesignEvent
-
is the piece that the player tried to play (or
MisdesignEvent.NO_PIECE) - Piece - Enum Class in be.belegkarnil.game.board.spectrangle
-
This class defines all existing Spectrangle pieces, there are triangle shape with three colors and one value.
- PiecesPanel - Class in be.belegkarnil.game.board.spectrangle.gui
-
This class is a GUI component of the Game.
- PiecesPanel() - Constructor for class be.belegkarnil.game.board.spectrangle.gui.PiecesPanel
- place(Piece, Point, int) - Method in class be.belegkarnil.game.board.spectrangle.Board
-
Put a rotated
Pieceat a given position - player - Variable in class be.belegkarnil.game.board.spectrangle.event.MisdesignEvent
-
is the {link @Player} that generate the event
- Player - Class in be.belegkarnil.game.board.spectrangle
- Player(String, Strategy) - Constructor for class be.belegkarnil.game.board.spectrangle.Player
-
Construct a new player
- plays(Player, Board, Player) - Method in class be.belegkarnil.game.board.spectrangle.strategy.HMIStrategy
-
Override the
Strategy.plays(Player, Board, Player)and return what defined by the GUI interface after callingHMIStrategy.setAction(Action) - plays(Player, Board, Player) - Method in class be.belegkarnil.game.board.spectrangle.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.spectrangle.strategy.SkipStrategy
-
Override the
Strategy.plays(Player, Board, Player)and always returnSkipStrategy.SKIP_ACTION - plays(Player, Board, Player) - Method in interface be.belegkarnil.game.board.spectrangle.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.spectrangle.Action
-
The position at which to put the piece during the action
- position - Variable in class be.belegkarnil.game.board.spectrangle.event.MisdesignEvent
-
is the the position at which the player tried to play a piece (or
MisdesignEvent.NO_POSITION) - PURPLE - Enum constant in enum class be.belegkarnil.game.board.spectrangle.Piece
- PURPLE_BLUE - Enum constant in enum class be.belegkarnil.game.board.spectrangle.Piece
- PURPLE_COLOR - Static variable in class be.belegkarnil.game.board.spectrangle.Constants
- PURPLE_GREEN - Enum constant in enum class be.belegkarnil.game.board.spectrangle.Piece
- PURPLE_RED - Enum constant in enum class be.belegkarnil.game.board.spectrangle.Piece
- PURPLE_YELLOW - Enum constant in enum class be.belegkarnil.game.board.spectrangle.Piece
- PURPLE_YELLOW_RED - Enum constant in enum class be.belegkarnil.game.board.spectrangle.Piece
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form