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.
|
Modifier and Type | Method and Description |
---|---|
Archetype |
Archetype.clone()
Creates a clone of this base object.
|
protected Archetype |
UndefinedArchetype.getThis()
Returns
this as its real type. |
protected Archetype |
DefaultArchetype.getThis()
Returns
this as its real type. |
Archetype |
DefaultArchetypeFactory.newUndefinedArchetype(String archetypeName)
Creates a new undefined archetype instance.
|
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 |
---|---|
protected int |
CrossfireArchetypeSetCollectable.collectArchetype(Archetype archetype,
Writer out)
Collects an
Archetype : writes its definition into a writer. |
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 . |
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 | Field and Description |
---|---|
private Archetype |
GameObjectCreator.archetype
The
Archetype for created game objects. |
Modifier and Type | Method and Description |
---|---|
Archetype |
DefaultGameObjectFactory.newArchetype(String archetypeName)
Creates a new
Archetype instance. |
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.createGameObject(Archetype archetype)
Creates a new GameObject from an
Archetype . |
GameObject |
DefaultGameObjectFactory.createGameObjectPart(Archetype archetype,
GameObject head)
Creates a new GameObject from an
Archetype . |
Constructor and Description |
---|
GameObject(Archetype archetype,
FaceObjectProviders faceObjectProviders,
AnimationObjects animationObjects)
Creates a new instance.
|
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 |
---|---|
protected boolean |
ArchetypeParser.addToPanel(boolean isInternPath,
String editorFolder,
Archetype archetype)
Returns whether an archetype should be added to the archetype chooser.
|
protected void |
ArchetypeParser.finishParseArchetype(Archetype archetype)
Called after all parts of an archetype have been processed.
|
protected void |
ArchetypeParser.finishParseArchetypePart(Archetype firstArch,
Archetype archetype,
ErrorViewCollector errorViewCollector)
Called after the "end" line of a part has been read.
|
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.
|
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 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 |
---|---|
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 |
---|---|
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. |
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.