Class RedeemObjectiveAction

java.lang.Object
com.takenoko.actions.objective.RedeemObjectiveAction
All Implemented Interfaces:
Action, DefaultAction

public class RedeemObjectiveAction extends Object implements DefaultAction
This class is an action to redeem an objective.
  • Field Details

  • Constructor Details

    • RedeemObjectiveAction

      public RedeemObjectiveAction(Objective objective)
  • Method Details

    • canBePlayed

      public static boolean canBePlayed(BotState botState)
    • 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