Package mindustry.game
Class MapObjectives.ItemObjective
java.lang.Object
mindustry.game.MapObjectives.MapObjective
mindustry.game.MapObjectives.ItemObjective
- Enclosing class:
- MapObjectives
Have a certain amount of item in your core.
-
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, reset, typeName
-
Field Details
-
item
-
amount
public int amount
-
-
Constructor Details
-
ItemObjective
-
ItemObjective
public ItemObjective()
-
-
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.
-
text
- Overrides:
text
in classMapObjectives.MapObjective
- Returns:
- Basic mission display text. If null, falls back to standard text.
-