20 package net.sf.gridarta.gui.mapmenu;
22 import java.awt.GraphicsEnvironment;
24 import java.io.IOException;
33 import org.junit.Assert;
34 import org.junit.Test;
50 if (GraphicsEnvironment.isHeadless()) {
55 final File file = File.createTempFile(
"gridarta", null);
61 mapMenuPreferences.
addEntry(mapMenuEntry);
void save()
Saves the map to a file.
This class contains methods for converting relative map paths to absolute map paths and vice versa...
Reading and writing of maps, handling of paths.
PathManager getPathManager()
Returns the PathManager.
Helper class for creating MapControl instances for regression tests.
MapFile getMapFile(@NotNull final AbsoluteMapPath mapPath)
Returns a MapFile instance from an AbsoluteMapPath.
A MapArchObject implementation for testing purposes.
Base package of all Gridarta classes.
An Exception indicating that an Archetype name is not unique.
GameObjects are the objects based on Archetypes found on maps.
ProjectSettings getProjectSettings()
Returns the ProjectSettings.
Currently nothing more than a marker interface for unification.
An Archetype implementation for testing purposes.
A GameObject implementation for testing purposes.
The class Size2D represents a 2d rectangular area.
MapControl< TestGameObject, TestMapArchObject, TestArchetype > newMapControl(@Nullable final MapFile mapFile, @NotNull final String mapName, @NotNull final Size2D mapSize)
Creates a new map control.