Package mindustry.game
Class MapObjectives.TimerObjective
java.lang.Object
mindustry.game.MapObjectives.MapObjective
mindustry.game.MapObjectives.TimerObjective
- Enclosing class:
- MapObjectives
-
Field Summary
Fields inherited from class mindustry.game.MapObjectives.MapObjective
details, editorX, editorY, flagsAdded, flagsRemoved, markers, parents
-
Constructor Summary
-
Method Summary
Methods inherited from class mindustry.game.MapObjectives.MapObjective
changed, child, dependencyFinished, details, details, done, flagsAdded, flagsRemoved, isCompleted, markers, parent, qualified, typeName
-
Field Details
-
text
-
duration
public float duration -
countup
protected float countup
-
-
Constructor Details
-
TimerObjective
-
TimerObjective
public TimerObjective()
-
-
Method Details
-
update
public boolean update()- Specified by:
update
in classMapObjectives.MapObjective
- Returns:
- True if this objective is done and should be removed from the executor.
-
reset
public void reset()Description copied from class:MapObjectives.MapObjective
Reset internal state, if any.- Overrides:
reset
in classMapObjectives.MapObjective
-
text
- Overrides:
text
in classMapObjectives.MapObjective
- Returns:
- Basic mission display text. If null, falls back to standard text.
-