Class Objectives.OnPlanet

java.lang.Object
mindustry.game.Objectives.OnPlanet
All Implemented Interfaces:
Objectives.Objective
Enclosing class:
Objectives

public static class Objectives.OnPlanet extends Object implements Objectives.Objective
  • Field Details

    • planet

      public Planet planet
  • Constructor Details

    • OnPlanet

      public OnPlanet(Planet planet)
    • OnPlanet

      protected OnPlanet()
  • Method Details

    • complete

      public boolean complete()
      Specified by:
      complete in interface Objectives.Objective
      Returns:
      whether this objective is met.
    • display

      public String display()
      Specified by:
      display in interface Objectives.Objective
      Returns:
      the string displayed when this objective is completed, in imperative form. e.g. when the objective is 'complete 10 waves', this would display "complete 10 waves".