20 package net.sf.gridarta.model.mapcontrol;
22 import java.io.IOException;
28 import org.jetbrains.annotations.NotNull;
66 void save()
throws IOException;
void save()
Saves the map to a file.
A MapModel reflects the data of a map.
int getUseCounter()
Returns the use counter.
MapModel< G, A, R > getMapModel()
Returns the map model.
Base package of all Gridarta classes.
Reflects a game object (object on a map).
boolean isPickmap()
Return flag that indicates whether this is a pickmap or not.
GameObjects are the objects based on Archetypes found on maps.
void addMapControlListener(@NotNull MapControlListener< G, A, R > listener)
Registers a MapControlListener.
void acquire()
Increases the use counter.
Currently nothing more than a marker interface for unification.
void saveAs(@NotNull MapFile mapFile)
Saves the file with the given map file.
void release()
Decreases the use counter and possibly frees the map control.
The location of a map file with a map directory.
Interface for MapArchObjects.
void removeMapControlListener(@NotNull MapControlListener< G, A, R > listener)
Unregisters a MapControlListener.