Package com.takenoko.actions.tile
Class PlaceTileAction
java.lang.Object
com.takenoko.actions.tile.PlaceTileAction
- All Implemented Interfaces:
Action
- Direct Known Subclasses:
PlaceTileWithImprovementAction
This class represents the action of placing a tile on the board.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPlaceTileAction
(Tile tile, PositionVector positionVector) Constructor for the PlaceTileAction class. -
Method Summary
Modifier and TypeMethodDescriptionboolean
execute
(Board board, BotManager botManager) Place the tile on the board and display a message.int
hashCode()
-
Field Details
-
tile
-
positionVector
-
-
Constructor Details
-
PlaceTileAction
Constructor for the PlaceTileAction class.- Parameters:
tile
- the tile to placepositionVector
- the position vector where to place the tile
-
-
Method Details