Package mindustry.game
Class MapMarkers
java.lang.Object
mindustry.game.MapMarkers
- All Implemented Interfaces:
Iterable<MapObjectives.ObjectiveMarker>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(int id, MapObjectives.ObjectiveMarker marker) get(int id) booleanhas(int id) iterator()voidvoidremove(int id) intsize()voidwrite(DataOutput stream) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
iteratorin interfaceIterable<MapObjectives.ObjectiveMarker>
-