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