Package mindustry.game
Class MapMarkers
java.lang.Object
mindustry.game.MapMarkers
- All Implemented Interfaces:
Iterable<MapObjectives.ObjectiveMarker>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(int id, MapObjectives.ObjectiveMarker marker) get
(int id) boolean
has
(int id) iterator()
void
void
remove
(int id) int
size()
void
write
(DataOutput stream) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
MapMarkers
public MapMarkers()
-
-
Method Details
-
add
-
remove
public void remove(int id) -
get
-
has
public boolean has(int id) -
size
public int size() -
write
- Throws:
IOException
-
read
- Throws:
IOException
-
iterator
- Specified by:
iterator
in interfaceIterable<MapObjectives.ObjectiveMarker>
-