Class PlaceIrrigationAction

java.lang.Object
com.takenoko.actions.irrigation.PlaceIrrigationAction
All Implemented Interfaces:
Action

public class PlaceIrrigationAction extends Object implements Action
Action to place an irrigation channel on the board.
  • Field Details

  • Constructor Details

    • PlaceIrrigationAction

      public PlaceIrrigationAction(EdgePosition edgePosition)
  • Method Details

    • 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
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object