 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.var.atrinik.model.mapcontrol;
22 import java.util.List;
34 import org.jetbrains.annotations.NotNull;
35 import org.jetbrains.annotations.Nullable;
79 if (objects !=
null) {
96 mapArchObject.setDifficulty(1);
98 if (objects !=
null) {
A MapModel reflects the data of a map.
Factory for creating MapControl instances.
DefaultMapControlFactory(@NotNull final MapWriter< GameObject, MapArchObject, Archetype > mapWriter, @NotNull final ProjectSettings projectSettings, @NotNull final MapModelFactory< GameObject, MapArchObject, Archetype > mapModelFactory)
Creates a new instance.
void resetModified()
Resets the modified flag to false.
Base package of all Gridarta classes.
final MapModelFactory< GameObject, MapArchObject, Archetype > mapModelFactory
The MapModelFactory for creating MapModel instances.
void endTransaction()
End a transaction.
void beginTransaction(@NotNull String name)
Starts a new transaction.
MapControl< GameObject, MapArchObject, Archetype > newPickmapControl(@Nullable final List< GameObject > objects, @NotNull final MapArchObject mapArchObject, @Nullable final MapFile mapFile)
A factory for creating MapModel instances.
Implements Atrinik archetypes.
Interface for classes that write map files.
MapArchObject contains the specific meta data about a map that is stored in the map-arch,...
Main package of Gridarta4Atrinik, contains all classes specific to the Atrinik version of the Gridart...
Handles the Atrinik GameObjects.
The location of a map file with a map directory.
Reading and writing of maps, handling of paths.
Settings that apply to a project.
MapControl< GameObject, MapArchObject, Archetype > newMapControl(@Nullable final List< GameObject > objects, @NotNull final MapArchObject mapArchObject, @Nullable final MapFile mapFile)
void setMapFile(@Nullable MapFile mapFile)
Sets the map file.
final ProjectSettings projectSettings
The ProjectSettings to use.
A MapControlFactory to create Crossfire instance.
Currently nothing more than a marker interface for unification.
MapModel< G, A, R > getMapModel()
Returns the map model.
Handles the Atrinik variants of GameObjects and Archetypes.
File getMapsDirectory()
Returns the default maps directory.
void addObjectListToMap(@NotNull Iterable< G > objects)
Adds a list of GameObjects to this map.
final MapWriter< GameObject, MapArchObject, Archetype > mapWriter
The MapWriter for saving MapControl instances.