Package | Description |
---|---|
net.sf.gridarta.actions | |
net.sf.gridarta.gui.map.mapview | |
net.sf.gridarta.gui.map.renderer | |
net.sf.gridarta.gui.map.test | |
net.sf.gridarta.model.archetype | |
net.sf.gridarta.model.artifact | |
net.sf.gridarta.model.autojoin | |
net.sf.gridarta.model.baseobject | |
net.sf.gridarta.model.io |
Reading and writing of maps, handling of paths.
|
net.sf.gridarta.model.maparchobject | |
net.sf.gridarta.model.mapcontrol | |
net.sf.gridarta.model.mapcursor | |
net.sf.gridarta.model.mapmanager | |
net.sf.gridarta.model.mapmodel | |
net.sf.gridarta.model.resource | |
net.sf.gridarta.model.validation |
This package contains the framework for validating maps.
|
net.sf.gridarta.plugin.parameter | |
net.sf.gridarta.var.atrinik.gui.map.renderer |
Renders maps.
|
Modifier and Type | Method and Description |
---|---|
private ExitConnectorActions<TestGameObject,TestMapArchObject,TestArchetype> |
ExitConnectorActionsTest.createActions(ExitConnectorModel model)
Creates a new
ExitConnectorActions instance. |
Modifier and Type | Method and Description |
---|---|
private static void |
ExitConnectorActionsTest.checkExit(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel,
Point point,
int index,
String exitPath,
Point exitPoint)
Checks that a map model contains an exit game object.
|
private static void |
UndoActionsTest.checkFace(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel,
int x,
int y,
String face)
Checks the face name of the first object in a map square.
|
Modifier and Type | Field and Description |
---|---|
private MapControl<TestGameObject,TestMapArchObject,TestArchetype> |
TestMapView.mapControl
The controller of this view.
|
Modifier and Type | Method and Description |
---|---|
MapControl<TestGameObject,TestMapArchObject,TestArchetype> |
TestMapView.getMapControl()
Return the controller of this view.
|
MapView<TestGameObject,TestMapArchObject,TestArchetype> |
TestMapViewFactory.newMapView(MapControl<TestGameObject,TestMapArchObject,TestArchetype> mapControl,
Point viewPosition,
int viewCounter)
Creates a new map view instance for a map control.
|
Modifier and Type | Method and Description |
---|---|
MapView<TestGameObject,TestMapArchObject,TestArchetype> |
TestMapViewFactory.newMapView(MapControl<TestGameObject,TestMapArchObject,TestArchetype> mapControl,
Point viewPosition,
int viewCounter)
Creates a new map view instance for a map control.
|
Constructor and Description |
---|
TestMapView(MapControl<TestGameObject,TestMapArchObject,TestArchetype> mapControl,
MapGrid mapGrid,
MapCursor<TestGameObject,TestMapArchObject,TestArchetype> mapCursor)
Creates a new instance.
|
TestMapView(MapControl<TestGameObject,TestMapArchObject,TestArchetype> mapControl,
MapGrid mapGrid,
MapCursor<TestGameObject,TestMapArchObject,TestArchetype> mapCursor)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
AbstractMapRenderer<TestGameObject,TestMapArchObject,TestArchetype> |
TestRendererFactory.newMapRenderer(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel,
MapGrid mapGrid)
Creates a new
MapRenderer suitable for painting maps. |
AbstractMapRenderer<TestGameObject,TestMapArchObject,TestArchetype> |
TestRendererFactory.newPickmapRenderer(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel,
MapGrid mapGrid)
Creates a new
MapRenderer suitable for painting pickmaps. |
Modifier and Type | Method and Description |
---|---|
AbstractMapRenderer<TestGameObject,TestMapArchObject,TestArchetype> |
TestRendererFactory.newMapRenderer(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel,
MapGrid mapGrid)
Creates a new
MapRenderer suitable for painting maps. |
AbstractMapRenderer<TestGameObject,TestMapArchObject,TestArchetype> |
TestRendererFactory.newPickmapRenderer(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel,
MapGrid mapGrid)
Creates a new
MapRenderer suitable for painting pickmaps. |
MapRenderer |
TestRendererFactory.newSimpleMapRenderer(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel)
Creates a new map renderer instance which paints only squares but no
grid, cursor, selection, or errors.
|
Constructor and Description |
---|
TestMapRenderer(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
static CopyBuffer<TestGameObject,TestMapArchObject,TestArchetype> |
TestMapControlCreatorUtils.newCopyBuffer(TestMapControlCreator mapControlCreator)
Returns a new
CopyBuffer instance. |
static MapImageCache<TestGameObject,TestMapArchObject,TestArchetype> |
TestMapControlCreatorUtils.newMapImageCache(TestMapControlCreator mapControlCreator)
Creates a new
MapImageCache instance. |
static MapView<TestGameObject,TestMapArchObject,TestArchetype> |
TestMapControlCreatorUtils.newMapView(MapControl<TestGameObject,TestMapArchObject,TestArchetype> mapControl)
Creates a new
MapView instance. |
static MapViewsManager<TestGameObject,TestMapArchObject,TestArchetype> |
TestMapControlCreatorUtils.newMapViewsManager(TestMapControlCreator mapControlCreator)
Creates a new
MapViewsManager instance. |
Modifier and Type | Method and Description |
---|---|
static MapView<TestGameObject,TestMapArchObject,TestArchetype> |
TestMapControlCreatorUtils.newMapView(MapControl<TestGameObject,TestMapArchObject,TestArchetype> mapControl)
Creates a new
MapView instance. |
Constructor and Description |
---|
TestArchetypeBuilder(GameObjectFactory<TestGameObject,TestMapArchObject,TestArchetype> gameObjectFactory)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private ArchetypeSet<TestGameObject,TestMapArchObject,TestArchetype> |
TestParser.archetypeSet
The
ArchetypeSet instance. |
private ArtifactParser<TestGameObject,TestMapArchObject,TestArchetype> |
TestParser.artifactParser
The
ArtifactParser instance. |
Modifier and Type | Method and Description |
---|---|
Archetype<TestGameObject,TestMapArchObject,TestArchetype> |
TestParser.getArchetype(String archetypeName)
Returns an
Archetype by name. |
Modifier and Type | Field and Description |
---|---|
private AutojoinLists<TestGameObject,TestMapArchObject,TestArchetype> |
AutojoinListsHelper.autojoinLists
The
AutojoinLists instance. |
Modifier and Type | Method and Description |
---|---|
private static GameObject<TestGameObject,TestMapArchObject,TestArchetype> |
AbstractBaseObjectTest.newGameObject(TestArchetype archetype,
String name,
FaceObjectProviders faceObjectProviders,
AnimationObjects animationObjects)
Creates a new game object instance.
|
Modifier and Type | Field and Description |
---|---|
private ArchetypeSet<TestGameObject,TestMapArchObject,TestArchetype> |
ArchetypeParserTest.archetypeSet
The loaded archetypes.
|
private GameObjectParser<TestGameObject,TestMapArchObject,TestArchetype> |
TestMapReaderFactory.gameObjectParser
The
GameObjectParser instance. |
private MapArchObjectFactory<TestMapArchObject> |
TestMapReaderFactory.mapArchObjectFactory
The
MapArchObjectFactory instance. |
private MapArchObjectParserFactory<TestMapArchObject> |
TestMapReaderFactory.mapArchObjectParserFactory
The
MapArchObjectParserFactory instance. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
TestMapArchObjectParser.parseLine(String line,
TestMapArchObject mapArchObject,
BufferedReader reader)
Parse a line for this editor type.
|
void |
TestMapArchObjectParser.save(Appendable appendable,
TestMapArchObject mapArchObject)
Write a map arch object to a stream.
|
Modifier and Type | Method and Description |
---|---|
TestMapArchObject |
TestMapArchObject.createClone()
Creates a copy of this object.
|
protected TestMapArchObject |
TestMapArchObject.getThis()
Returns this map arch object cast to its real type.
|
TestMapArchObject |
TestMapArchObjectFactory.newMapArchObject(boolean addDefaultAttributes)
Creates a new
MapArchObject instance. |
Constructor and Description |
---|
TestMapArchObject(TestMapArchObject mapArchObject)
Creates a new instance as a copy of another map arch object.
|
Modifier and Type | Method and Description |
---|---|
MapControl<TestGameObject,TestMapArchObject,TestArchetype> |
TestMapControlFactory.newMapControl(List<TestGameObject> objects,
TestMapArchObject mapArchObject,
File file)
Create a new map control instance.
|
MapControl<TestGameObject,TestMapArchObject,TestArchetype> |
TestMapControlFactory.newPickmapControl(List<TestGameObject> objects,
TestMapArchObject mapArchObject,
File file)
Create a new pickmap map control instance.
|
Constructor and Description |
---|
TestMapControlFactory(MapWriter<TestGameObject,TestMapArchObject,TestArchetype> mapWriter,
ProjectSettings projectSettings,
MapModelFactory<TestGameObject,TestMapArchObject,TestArchetype> mapModelFactory)
Creates a new instance.
|
TestMapControlFactory(MapWriter<TestGameObject,TestMapArchObject,TestArchetype> mapWriter,
ProjectSettings projectSettings,
MapModelFactory<TestGameObject,TestMapArchObject,TestArchetype> mapModelFactory)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
private static MapCursor<TestGameObject,TestMapArchObject,TestArchetype> |
MapCursorTest.createCursor(MapGrid grid)
Creates a new
MapCursor instance. |
Modifier and Type | Method and Description |
---|---|
private static void |
MapCursorTest.dragTo(MapCursor<TestGameObject,TestMapArchObject,TestArchetype> cursor,
MapGrid grid,
Direction dir,
Point start,
Point p,
Dimension offset)
Calls
MapCursor.dragTo(Point) and checks for expected results. |
void |
MapCursorTest.TestMapCursorListener.mapCursorChangedGameObject(MapSquare<TestGameObject,TestMapArchObject,TestArchetype> mapSquare,
TestGameObject gameObject) |
Modifier and Type | Method and Description |
---|---|
boolean |
TestFileControl.confirmSaveChanges(MapControl<TestGameObject,TestMapArchObject,TestArchetype> mapControl)
Asks the user whether to save changes of a map.
|
void |
TestFileControl.reportSaveError(MapControl<TestGameObject,TestMapArchObject,TestArchetype> mapControl,
String message)
Reports an error while saving a map file to the user.
|
boolean |
TestFileControl.save(MapControl<TestGameObject,TestMapArchObject,TestArchetype> mapControl)
Save one map.
|
boolean |
TestFileControl.saveAs(MapControl<TestGameObject,TestMapArchObject,TestArchetype> mapControl)
Asks the user for a filename, then saves the map.
|
Constructor and Description |
---|
TestFilesResourcesReader(File archDirectory,
ArchetypeSet<TestGameObject,TestMapArchObject,TestArchetype> archetypeSet,
AbstractArchetypeParser<TestGameObject,TestMapArchObject,TestArchetype,?> archetypeParser,
ArchFaceProvider archFaceProvider,
File collectedDirectory,
String imageSet,
AnimationObjects animationObjects,
FaceObjects faceObjects)
Creates a new instance.
|
TestFilesResourcesReader(File archDirectory,
ArchetypeSet<TestGameObject,TestMapArchObject,TestArchetype> archetypeSet,
AbstractArchetypeParser<TestGameObject,TestMapArchObject,TestArchetype,?> archetypeParser,
ArchFaceProvider archFaceProvider,
File collectedDirectory,
String imageSet,
AnimationObjects animationObjects,
FaceObjects faceObjects)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
static ValidatorFactory<TestGameObject,TestMapArchObject,TestArchetype> |
ValidationUtils.newValidatorFactory()
Creates a new
ValidatorFactory instance. |
Modifier and Type | Method and Description |
---|---|
private static PluginParameter<TestGameObject,TestMapArchObject,TestArchetype,?> |
PluginParameterCodecTest.fromXML(TestMapControlCreator mapControlCreator,
String string)
Decodes a
PluginParameter from its string representation. |
Modifier and Type | Method and Description |
---|---|
private static String |
PluginParameterCodecTest.toXML(PluginParameter<TestGameObject,TestMapArchObject,TestArchetype,?> parameter)
Encodes a
PluginParameter to its string representation. |
Modifier and Type | Method and Description |
---|---|
private TestMapRenderer |
MapRendererTest.newRenderer(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel)
Creates a new
TestMapRenderer instance for a MapModel . |
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.