Class MapObjectives.DestroyBlocksObjective

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

public static class MapObjectives.DestroyBlocksObjective extends MapObjectives.MapObjective
  • Field Details

    • positions

      public Point2[] positions
    • team

      public Team team
    • block

      public Block block
  • Constructor Details

    • DestroyBlocksObjective

      public DestroyBlocksObjective(Block block, Team team, Point2... positions)
    • DestroyBlocksObjective

      public DestroyBlocksObjective()
  • Method Details

    • progress

      public int progress()
    • 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

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