Package mindustry.game
Class MapMarkers
java.lang.Object
mindustry.game.MapMarkers
- All Implemented Interfaces:
Iterable<MapObjectives.ObjectiveMarker>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionarc.struct.Seq<MapObjectives.ObjectiveMarker>arc.struct.Seq<MapObjectives.ObjectiveMarker>arc.struct.Seq<MapObjectives.ObjectiveMarker> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(int id, MapObjectives.ObjectiveMarker marker) voidclear()get(int id) booleanhas(int id) iterator()Deprecated.use the seq fields insteadvoidvoidremove(int id) intsize()voidupdateMarker(arc.struct.Seq<MapObjectives.ObjectiveMarker> markers, MapObjectives.ObjectiveMarker marker, boolean visible, arc.func.Intf<MapObjectives.ObjectiveMarker> getter, MapMarkers.MarkerSetter setter) 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
-
Field Details
-
worldMarkers
-
mapMarkers
-
lightMarkers
-
-
Constructor Details
-
MapMarkers
public MapMarkers()
-
-
Method Details
-
clear
public void clear() -
add
-
remove
public void remove(int id) -
get
-
has
public boolean has(int id) -
size
public int size() -
write
- Throws:
IOException
-
read
- Throws:
IOException
-
updateMarker
public void updateMarker(arc.struct.Seq<MapObjectives.ObjectiveMarker> markers, MapObjectives.ObjectiveMarker marker, boolean visible, arc.func.Intf<MapObjectives.ObjectiveMarker> getter, MapMarkers.MarkerSetter setter) -
iterator
Deprecated.use the seq fields instead- Specified by:
iteratorin interfaceIterable<MapObjectives.ObjectiveMarker>
-