Class Sunny


public class Sunny extends Weather
Weather that adds a new action to the bot.
  • Constructor Details

    • Sunny

      public Sunny()
  • Method Details

    • apply

      public List<Class<? extends Action>> apply(Board board, BotManager botManager)
      Description copied from class: Weather
      Code to be executed when the weather is rolled and modifiers applied.
      Specified by:
      apply in class Weather
      Returns:
      List of actions to be executed after the weather is applied.
    • revert

      public void revert(Board board, BotManager botManager)
      Specified by:
      revert in class Weather
    • toString

      public String toString()
      Overrides:
      toString in class Weather