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 |
---|---|
private Component |
MapPropertiesDialog.createMapLorePanel(MapArchObject map)
Create the lore panel.
|
private Component |
MapPropertiesDialog.createMapPanel(MapArchObject map)
Create the map panel.
|
private Component |
MapPropertiesDialog.createParametersPanel(MapArchObject map)
Create the parameters panel.
|
private Component |
MapPropertiesDialog.createShopPanel(MapArchObject map)
Create the shop panel.
|
private Component |
MapPropertiesDialog.createWeatherPanel(MapArchObject map)
Create the weather panel.
|
Modifier and Type | Method and Description |
---|---|
private Component |
MapPropertiesDialog.createMapTextPanel(MapArchObject<MapArchObject> map)
Create the map text panel.
|
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 . |
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 |
---|---|
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 | 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 |
---|---|
void |
MapArchObjectParser.load(BufferedReader reader,
MapArchObject mapArchObject)
Parse a map arch object from a stream.
|
protected boolean |
MapArchObjectParser.parseLine(String line,
MapArchObject mapArchObject,
BufferedReader reader)
Parse a line for this editor type.
|
void |
MapArchObjectParser.save(Appendable appendable,
MapArchObject mapArchObject)
Write a map arch object to a stream.
|
Modifier and Type | Method and Description |
---|---|
MapArchObject |
MapArchObject.createClone()
Creates a copy of this object.
|
protected MapArchObject |
MapArchObject.getThis()
Returns this map arch object cast to its real type.
|
MapArchObject |
DefaultMapArchObjectFactory.newMapArchObject(boolean addDefaultAttributes)
Creates a new
MapArchObject instance. |
Modifier and Type | Method and Description |
---|---|
void |
MapArchObject.setState(MapArchObject mapArchObject)
Resets the state of this object to the state of the given map arch
object.
|
Constructor and Description |
---|
MapArchObject(MapArchObject mapArchObject)
Creates a new instance as a copy of another map arch object.
|
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 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.