Class DrawTileAction

java.lang.Object
com.takenoko.actions.tile.DrawTileAction
All Implemented Interfaces:
Action, DefaultAction

public class DrawTileAction extends Object implements DefaultAction
Action to draw a Tile from the deck.
  • Constructor Details

    • DrawTileAction

      public DrawTileAction()
  • Method Details

    • canBePlayed

      public static boolean canBePlayed(Board board)
    • execute

      public ActionResult execute(Board board, BotManager botManager)
      Description copied from interface: Action
      Executes the action on the board and the bot manager.
      Specified by:
      execute in interface Action
      Parameters:
      board - the board
      botManager - the bot manager
      Returns:
      the action result