20 package net.sf.gridarta.model.mapmanager;
22 import java.util.List;
33 import org.jetbrains.annotations.NotNull;
34 import org.jetbrains.annotations.Nullable;
57 super(mapReaderFactory, projectSettings, faceObjectProviders, pathManager);
64 return mapControlFactory.
newMapControl(objects, mapArchObject, mapFile);
final MapControlFactory< G, A, R > mapControlFactory
The MapControlFactory instance.
This class contains methods for converting relative map paths to absolute map paths and vice versa...
Reading and writing of maps, handling of paths.
Settings that apply to a project.
final ProjectSettings projectSettings
The project settings instance.
A factory for creating MapReader instances.
final MapReaderFactory< G, A > mapReaderFactory
The gridarta objects factory instance.
MapControl< G, A, R > newMapControl(@Nullable List< G > objects, @NotNull A mapArchObject, @Nullable MapFile mapFile)
Create a new map control instance.
Abstract base class for MapManager implementations.
Base package of all Gridarta classes.
Reflects a game object (object on a map).
GameObjects are the objects based on Archetypes found on maps.
final PathManager pathManager
The PathManager for converting File instances.
DefaultMapManager(@NotNull final MapReaderFactory< G, A > mapReaderFactory, @NotNull final MapControlFactory< G, A, R > mapControlFactory, @NotNull final ProjectSettings projectSettings, @NotNull final FaceObjectProviders faceObjectProviders, @NotNull final PathManager pathManager)
Create a new map manager.
Provider for faces of GameObjects and Archetypes.
The face is the appearance of an object.
Currently nothing more than a marker interface for unification.
MapControl< G, A, R > createMapControl(@Nullable final List< G > objects, @NotNull final A mapArchObject, @Nullable final MapFile mapFile)
The location of a map file with a map directory.
Interface for MapArchObjects.
Factory for creating MapControl instances.