Package | Description |
---|---|
net.sf.gridarta.var.crossfire.gui.map.renderer |
Renders maps.
|
net.sf.gridarta.var.crossfire.gui.mappropertiesdialog | |
net.sf.gridarta.var.crossfire.maincontrol | |
net.sf.gridarta.var.crossfire.model.archetype | |
net.sf.gridarta.var.crossfire.model.collectable | |
net.sf.gridarta.var.crossfire.model.gameobject |
Handles the Crossfire variants of
GameObjects and Archetypes . |
net.sf.gridarta.var.crossfire.model.io |
Reading and writing of Crossfire maps.
|
net.sf.gridarta.var.crossfire.model.mapcontrol | |
net.sf.gridarta.var.crossfire.model.scripts | |
net.sf.gridarta.var.crossfire.model.validation.checks | |
net.sf.gridarta.var.crossfire.resource |
Modifier and Type | Method and Description |
---|---|
FlatMapRenderer |
DefaultRendererFactory.newMapRenderer(MapModel<GameObject,MapArchObject,Archetype> mapModel,
MapGrid mapGrid)
Creates a new
MapRenderer suitable for painting maps. |
FlatPickmapRenderer |
DefaultRendererFactory.newPickmapRenderer(MapModel<GameObject,MapArchObject,Archetype> mapModel,
MapGrid mapGrid)
Creates a new
MapRenderer suitable for painting pickmaps. |
SimpleFlatMapRenderer |
DefaultRendererFactory.newSimpleMapRenderer(MapModel<GameObject,MapArchObject,Archetype> mapModel)
Creates a new map renderer instance which paints only squares but no
grid, cursor, selection, or errors.
|
private void |
FlatMapRenderer.paintGameObject(Graphics g,
int x,
int y,
GameObject<GameObject,MapArchObject,Archetype> node)
Paints one game object.
|
protected abstract void |
AbstractFlatMapRenderer.paintSquare(Graphics g,
int x,
int y,
MapSquare<GameObject,MapArchObject,Archetype> square)
Paints one square.
|
protected void |
FlatPickmapRenderer.paintSquare(Graphics g,
int x,
int y,
MapSquare<GameObject,MapArchObject,Archetype> square)
Paints one square.
|
protected void |
FlatMapRenderer.paintSquare(Graphics g,
int x,
int y,
MapSquare<GameObject,MapArchObject,Archetype> square)
Paints one square.
|
private void |
AbstractFlatMapRenderer.paintSquare(MapSquare<GameObject,MapArchObject,Archetype> square)
Paints one square.
|
Modifier and Type | Field and Description |
---|---|
private MapManager<GameObject,MapArchObject,Archetype> |
DefaultMapPropertiesDialogFactory.mapManager
The
MapManager to use. |
private MapModel<GameObject,MapArchObject,Archetype> |
MapPropertiesDialog.mapModel
The
MapModel this dialog shows. |
private AbstractMapTilePane<GameObject,MapArchObject,Archetype> |
MapPropertiesDialog.mapTilePane
The
AbstractMapTilePane . |
Modifier and Type | Method and Description |
---|---|
void |
DefaultMapPropertiesDialogFactory.showDialog(Component parent,
Frame helpParent,
MapModel<GameObject,MapArchObject,Archetype> mapModel,
FileFilter mapFileFilter)
Show a dialog querying the user for map properties.
|
Constructor and Description |
---|
DefaultMapPropertiesDialogFactory(MapManager<GameObject,MapArchObject,Archetype> mapManager,
ProjectSettings projectSettings,
MapPathNormalizer mapPathNormalizer)
Creates a new instance.
|
MapPropertiesDialog(Frame helpParent,
MapManager<GameObject,MapArchObject,Archetype> mapManager,
ProjectSettings projectSettings,
MapModel<GameObject,MapArchObject,Archetype> mapModel,
FileFilter mapFileFilter,
MapPathNormalizer mapPathNormalizer)
Creates a map-options dialog.
|
MapPropertiesDialog(Frame helpParent,
MapManager<GameObject,MapArchObject,Archetype> mapManager,
ProjectSettings projectSettings,
MapModel<GameObject,MapArchObject,Archetype> mapModel,
FileFilter mapFileFilter,
MapPathNormalizer mapPathNormalizer)
Creates a map-options dialog.
|
Constructor and Description |
---|
DefaultArchetypeBuilder(GameObjectFactory<GameObject,MapArchObject,Archetype> gameObjectFactory)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private GameObjectParser<GameObject,MapArchObject,Archetype> |
CrossfireArchetypeSetCollectable.gameObjectParser
The
GameObjectParser for writing inventory game objects. |
Modifier and Type | Method and Description |
---|---|
private static void |
CrossfireArchetypeSetCollectable.writeArchetype(Writer writer,
Archetype<GameObject,?,?> archetype,
boolean isHeadPart,
GameObjectParser<GameObject,MapArchObject,Archetype> gameObjectParser)
Writes an
Archetype . |
private static void |
CrossfireArchetypeSetCollectable.writeArchetype(Writer writer,
Archetype<GameObject,?,?> archetype,
boolean isHeadPart,
GameObjectParser<GameObject,MapArchObject,Archetype> gameObjectParser)
Writes an
Archetype . |
Constructor and Description |
---|
CrossfireArchetypeSetCollectable(ArchetypeSet<GameObject,MapArchObject,Archetype> archetypeSet,
GameObjectParser<GameObject,MapArchObject,Archetype> gameObjectParser)
Creates a new instance.
|
CrossfireArchetypeSetCollectable(ArchetypeSet<GameObject,MapArchObject,Archetype> archetypeSet,
GameObjectParser<GameObject,MapArchObject,Archetype> gameObjectParser)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
GameObject |
GameObject.clone() |
GameObject |
DefaultGameObjectFactory.cloneGameObject(GameObject gameObject)
Creates a copy of a game object.
|
GameObject |
DefaultGameObjectFactory.createGameObject(Archetype archetype)
Creates a new GameObject from an
Archetype . |
GameObject |
DefaultGameObjectFactory.createGameObjectPart(Archetype archetype,
GameObject head)
Creates a new GameObject from an
Archetype . |
private static GameObject |
PropagateElevationTest.get(Iterable<GameObject> gameObjects,
int index)
Returns the game object at a given index.
|
protected GameObject |
GameObject.getThis()
Returns
this as its real type. |
GameObject |
GameObjectCreator.newGameObject(int elevation)
Creates a new
GameObject . |
Modifier and Type | Method and Description |
---|---|
private static GameObjectContainer<GameObject,MapArchObject,Archetype> |
PropagateElevationTest.newContainer(GameObjectCreator gameObjectCreator,
int... elevations)
Creates a new
GameObjectContainer that contains game objects with
the given elevation values. |
Modifier and Type | Method and Description |
---|---|
GameObject |
DefaultGameObjectFactory.cloneGameObject(GameObject gameObject)
Creates a copy of a game object.
|
GameObject |
DefaultGameObjectFactory.createGameObjectPart(Archetype archetype,
GameObject head)
Creates a new GameObject from an
Archetype . |
Modifier and Type | Method and Description |
---|---|
private static void |
PropagateElevationTest.check(Iterable<GameObject> gameObjects,
int... elevation)
Checks some game objects for expected elevation values.
|
private static GameObject |
PropagateElevationTest.get(Iterable<GameObject> gameObjects,
int index)
Returns the game object at a given index.
|
Modifier and Type | Field and Description |
---|---|
private ArchetypeSet<GameObject,MapArchObject,Archetype> |
ArchetypeParserTest.archetypeSet
The loaded archetypes.
|
private ArchetypeSet<GameObject,MapArchObject,Archetype> |
DefaultGameObjectParserFactory.archetypeSet
The
ArchetypeSet for looking up archetypes. |
private GameObjectFactory<GameObject,MapArchObject,Archetype> |
DefaultGameObjectParserFactory.gameObjectFactory
The
GameObjectFactory instance. |
private GameObjectParser<GameObject,MapArchObject,Archetype> |
ArchetypeParser.gameObjectParser
The game object parser instance.
|
Modifier and Type | Method and Description |
---|---|
protected ArchetypeSet<GameObject,MapArchObject,Archetype> |
ArchetypeParserTest.getArchetypeSet()
Returns the
ArchetypeSet . |
protected AbstractArchetypeParser<GameObject,MapArchObject,Archetype,? extends AbstractArchetypeBuilder<GameObject,MapArchObject,Archetype>> |
ArchetypeParserTest.newArchetypeParser()
Creates a new
AbstractArchetypeParser instance. |
protected AbstractArchetypeParser<GameObject,MapArchObject,Archetype,? extends AbstractArchetypeBuilder<GameObject,MapArchObject,Archetype>> |
ArchetypeParserTest.newArchetypeParser()
Creates a new
AbstractArchetypeParser instance. |
GameObjectParser<GameObject,MapArchObject,Archetype> |
DefaultGameObjectParserFactory.newGameObjectParser()
Creates a new
GameObjectParser instance. |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
DefaultGameObjectParser.getModifiedFields(GameObject gameObject)
Returns the modified fields of a
GameObject . |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ArchetypeParser.processLine(BufferedReader in,
String line,
String line2,
DefaultArchetypeBuilder archetypeBuilder,
ErrorViewCollector errorViewCollector,
List<GameObject> invObjects)
Called for each processed line.
|
Modifier and Type | Field and Description |
---|---|
private MapModelFactory<GameObject,MapArchObject,Archetype> |
DefaultMapControlFactory.mapModelFactory
The
MapModelFactory for creating MapModel instances. |
private MapWriter<GameObject,MapArchObject,Archetype> |
DefaultMapControlFactory.mapWriter
The
MapWriter for saving MapControl instances. |
Modifier and Type | Method and Description |
---|---|
MapControl<GameObject,MapArchObject,Archetype> |
DefaultMapControlFactory.newMapControl(List<GameObject> objects,
MapArchObject mapArchObject,
File file)
Create a new map control instance.
|
MapControl<GameObject,MapArchObject,Archetype> |
DefaultMapControlFactory.newPickmapControl(List<GameObject> objects,
MapArchObject mapArchObject,
File file)
Create a new pickmap map control instance.
|
Modifier and Type | Method and Description |
---|---|
MapControl<GameObject,MapArchObject,Archetype> |
DefaultMapControlFactory.newMapControl(List<GameObject> objects,
MapArchObject mapArchObject,
File file)
Create a new map control instance.
|
MapControl<GameObject,MapArchObject,Archetype> |
DefaultMapControlFactory.newPickmapControl(List<GameObject> objects,
MapArchObject mapArchObject,
File file)
Create a new pickmap map control instance.
|
Constructor and Description |
---|
DefaultMapControlFactory(MapWriter<GameObject,MapArchObject,Archetype> mapWriter,
ProjectSettings projectSettings,
MapModelFactory<GameObject,MapArchObject,Archetype> mapModelFactory)
Creates a new instance.
|
DefaultMapControlFactory(MapWriter<GameObject,MapArchObject,Archetype> mapWriter,
ProjectSettings projectSettings,
MapModelFactory<GameObject,MapArchObject,Archetype> mapModelFactory)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private GameObject |
DefaultScriptedEvent.event
The underlying game object that represents the event.
|
Modifier and Type | Field and Description |
---|---|
private ScriptedEventEditor<GameObject,MapArchObject,Archetype> |
DefaultScriptedEventFactory.scriptedEventEditor
The
ScriptedEventEditor to use. |
private ScriptedEventEditor<GameObject,MapArchObject,Archetype> |
DefaultScriptedEvent.scriptedEventEditor
The
ScriptedEventEditor to use. |
Modifier and Type | Method and Description |
---|---|
GameObject |
DefaultScriptedEvent.getEventArch()
Returns the underlying event game object.
|
Modifier and Type | Method and Description |
---|---|
ScriptedEvent<GameObject,MapArchObject,Archetype> |
DefaultScriptedEventFactory.newScriptedEvent(GameObject event)
Creates a new
ScriptedEvent instance. |
ScriptedEvent<GameObject,MapArchObject,Archetype> |
DefaultScriptedEventFactory.newScriptedEvent(int eventType,
String pluginName,
String scriptPath,
String options)
Creates a new
ScriptedEvent instance. |
Modifier and Type | Method and Description |
---|---|
ScriptedEvent<GameObject,MapArchObject,Archetype> |
DefaultScriptedEventFactory.newScriptedEvent(GameObject event)
Creates a new
ScriptedEvent instance. |
Constructor and Description |
---|
DefaultScriptedEvent(ScriptArchUtils scriptArchUtils,
GameObject event,
String subtypeAttribute,
ScriptedEventEditor<GameObject,MapArchObject,Archetype> scriptedEventEditor)
Creates a new instance of a given type (This is used for map-loading).
|
Modifier and Type | Method and Description |
---|---|
void |
NonAbsoluteExitPathChecker.validateGameObject(GameObject gameObject,
ErrorCollector<GameObject,MapArchObject,Archetype> errorCollector)
Validates a game object.
|
Modifier and Type | Method and Description |
---|---|
void |
NonAbsoluteExitPathChecker.validateGameObject(GameObject gameObject,
ErrorCollector<GameObject,MapArchObject,Archetype> errorCollector)
Validates a game object.
|
Modifier and Type | Field and Description |
---|---|
private AbstractArchetypeParser<GameObject,MapArchObject,Archetype,?> |
DefaultResources.archetypeParser
The
AbstractArchetypeParser to use. |
private ArchetypeSet<GameObject,MapArchObject,Archetype> |
DefaultResources.archetypeSet
The
ArchetypeSet to update. |
private GameObjectParser<GameObject,MapArchObject,Archetype> |
DefaultResources.gameObjectParser
The
GameObjectParser to use. |
Modifier and Type | Method and Description |
---|---|
protected List<GameObject> |
DefaultResources.readCollectedInt(ProjectSettings projectSettings,
ErrorView errorView)
Reads the resources from a collection.
|
Modifier and Type | Method and Description |
---|---|
FaceProvider |
CollectedResourcesReader.read(ErrorView errorView,
List<GameObject> invObjects)
Reads the resources.
|
protected void |
DefaultResources.readFilesInt(ProjectSettings projectSettings,
ErrorView errorView,
List<GameObject> invObjects)
Reads the resources from individual files.
|
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.