content: package bh.bot.app.farming;
  
  import bh.bot.common.types.AttendablePlace;
  import bh.bot.common.types.AttendablePlaces;
  import bh.bot.common.types.annotations.AppMeta;
  import bh.bot.common.types.annotations.RequireSingleInstance;
  import bh.bot.common.types.images.BwMatrixMeta;
  
  import java.util.Arrays;
  import java.util.List;
  
  @AppMeta(code = "invasion", name = "Invasion", displayOrder = 9)
  @RequireSingleInstance
  public class InvasionApp extends AbstractDoFarmingApp {
      @Override
      protected AttendablePlace getAttendablePlace() {
          return AttendablePlaces.invasion;
      }
  
      @Override
      protected List<NextAction> getInternalPredefinedImageActions() {
          return InvasionApp.getPredefinedImageActions();
      }
  
      public static List<NextAction> getPredefinedImageActions() {
          return Arrays.asList(
                  new NextAction(BwMatrixMeta.Metas.Invasion.Buttons.play, false, false),
                  new NextAction(BwMatrixMeta.Metas.Invasion.Buttons.accept, false, false),
                  new NextAction(BwMatrixMeta.Metas.Invasion.Buttons.town, true, false),
                  new NextAction(BwMatrixMeta.Metas.Invasion.Dialogs.notEnoughBadges, false, true)
          );
      }
  
      @Override
      protected String getLimitationExplain() {
          return "Invasion does not support select badge cost, so choose it before turn this on";
      }
  }
  