Class PlaceTileWithImprovementAction

java.lang.Object
com.takenoko.actions.tile.PlaceTileAction
com.takenoko.actions.tile.PlaceTileWithImprovementAction
All Implemented Interfaces:
Action

public class PlaceTileWithImprovementAction extends PlaceTileAction
This class represents the action of placing a tile on the board with an improvement from the inventory.
  • Constructor Details

  • Method Details

    • execute

      public ActionResult execute(Board board, BotManager botManager)
      Apply the improvement on tile then place the tile on the board and display a message.
      Specified by:
      execute in interface Action
      Overrides:
      execute in class PlaceTileAction
      Parameters:
      board - the board
      botManager - the bot manager
      Returns:
      the action result