Class MapObjectives.FlagObjective

java.lang.Object
mindustry.game.MapObjectives.MapObjective
mindustry.game.MapObjectives.FlagObjective
Enclosing class:
MapObjectives

public static class MapObjectives.FlagObjective extends MapObjectives.MapObjective
Wait until a logic flag is set.
  • Field Details

  • Constructor Details

    • FlagObjective

      public FlagObjective(String flag, String text)
    • FlagObjective

      public FlagObjective()
  • Method Details

    • update

      public boolean update()
      Specified by:
      update in class MapObjectives.MapObjective
      Returns:
      True if this objective is done and should be removed from the executor.
    • text

      @Nullable public String text()
      Overrides:
      text in class MapObjectives.MapObjective
      Returns:
      Basic mission display text. If null, falls back to standard text.