Package mindustry.game
Class MapObjectives.CoreItemObjective
java.lang.Object
mindustry.game.MapObjectives.MapObjective
mindustry.game.MapObjectives.CoreItemObjective
- Enclosing class:
- MapObjectives
Get a certain item in your core (through a block, not manually.)
-
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
-
CoreItemObjective
-
CoreItemObjective
public CoreItemObjective()
-
-
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.
-