Modifier and Type | Method and Description |
---|---|
private boolean |
ExitConnectorActions.doExitConnect(boolean performAction,
BaseObject<?,?,?,?> targetExit,
BaseObject<G,A,R,?> targetArchetype,
MapModel<G,A,R> targetMapModel,
Point targetLocation,
File targetMapFile,
MapModel<G,A,R> sourceMapModel,
ExitLocation sourceExitLocation)
Executes part of the "exit connect" action.
|
private boolean |
ExitConnectorActions.doExitConnect(boolean performAction,
BaseObject<?,?,?,?> targetExit,
BaseObject<G,A,R,?> targetArchetype,
MapModel<G,A,R> targetMapModel,
Point targetLocation,
File targetMapFile,
MapModel<G,A,R> sourceMapModel,
ExitLocation sourceExitLocation)
Executes part of the "exit connect" action.
|
private void |
ExitConnectorActions.pasteExit(BaseObject<?,?,?,?> gameObject,
MapModel<G,A,R> mapModel,
ExitLocation exitLocation,
File gameObjectMapFile)
Pastes exit information into an exit game object.
|
private boolean |
ExitConnectorActions.pasteExit(Point location,
MapModel<G,A,R> mapModel,
BaseObject<G,A,R,?> archetype,
ExitLocation exitLocation,
File mapFile)
Creates a new exit game object.
|
Modifier and Type | Method and Description |
---|---|
private ImageIcon |
GameObjectAttributesDialog.getFace(BaseObject<G,A,R,?> gameObject)
Returns the face for a GameObject.
|
Modifier and Type | Field and Description |
---|---|
private BaseObject<G,A,R,?> |
ReplaceDialog.replaceArch
Objects will be replaced with this game object.
|
Modifier and Type | Field and Description |
---|---|
private List<? extends BaseObject<G,A,R,?>> |
ReplaceDialog.replacePickmap |
Modifier and Type | Method and Description |
---|---|
private void |
ReplaceDialog.updateArchSelection(BaseObject<G,A,R,?> newArch,
boolean alwaysPack)
Update which arch is displayed as replace object.
|
Modifier and Type | Method and Description |
---|---|
private boolean |
AbstractIsoMapRenderer.isSpawnPoint(BaseObject<G,A,R,?> gameObject)
Returns whether the given
BaseObject is a spawn point. |
Modifier and Type | Method and Description |
---|---|
private void |
DirectionPane.updateEnabled(BaseObject<?,?,?,?> baseObject)
Enables/disables the direction buttons for a given archetype.
|
Modifier and Type | Method and Description |
---|---|
protected abstract String |
CellRenderer.formatValue(BaseObject<?,?,?,?> gameObject)
Returns a string representation for a value.
|
protected String |
LockedItemsView.LockedItemsCellRenderer.formatValue(BaseObject<?,?,?,?> gameObject) |
protected String |
ConnectionView.ConnectionCellRenderer.formatValue(BaseObject<?,?,?,?> gameObject) |
protected String |
MonsterCellRenderer.formatValue(BaseObject<?,?,?,?> gameObject)
Returns a string representation for a value.
|
Modifier and Type | Method and Description |
---|---|
private static void |
ArchTab.appendFaceSource(StringBuilder sb,
BaseObject<?,?,?,?> gameObject)
Appends a description of a game object's face to a
StringBuilder . |
Modifier and Type | Method and Description |
---|---|
void |
ObjectChoiceDisplay.showObjectChooserQuickObject(BaseObject<?,?,?,?> gameObject,
boolean isPickmapActive)
Displays information about the selected game object.
|
Modifier and Type | Field and Description |
---|---|
private BaseObject<G,A,R,?> |
DefaultObjectChooser.cursorSelection
The last reported selection.
|
Modifier and Type | Method and Description |
---|---|
BaseObject<G,A,R,?> |
ObjectChooser.getCursorSelection()
Returns the selected archetype (if the archetype chooser is active) or
the game object selected by the map cursor (if the pickmap chooser) is
active.
|
BaseObject<G,A,R,?> |
DefaultObjectChooser.getCursorSelection()
Returns the selected archetype (if the archetype chooser is active) or
the game object selected by the map cursor (if the pickmap chooser) is
active.
|
BaseObject<G,A,R,?> |
ObjectChooser.getSelection()
Returns the active arch in the left-side panel.
|
BaseObject<G,A,R,?> |
DefaultObjectChooser.getSelection()
Returns the active arch in the left-side panel.
|
BaseObject<G,A,R,?> |
ObjectChooserTab.getSelection()
Returns the selected game object.
|
Modifier and Type | Method and Description |
---|---|
List<? extends BaseObject<G,A,R,?>> |
ObjectChooser.getSelections()
Returns the selected arches in the left-side panel.
|
List<? extends BaseObject<G,A,R,?>> |
DefaultObjectChooser.getSelections()
Returns the selected arches in the left-side panel.
|
List<? extends BaseObject<G,A,R,?>> |
ObjectChooserTab.getSelections()
Returns the selected game objects.
|
Modifier and Type | Method and Description |
---|---|
private void |
DefaultObjectChooser.fireSelectionChanged(BaseObject<G,A,R,?> gameObject)
Notifies all listeners that the selection may have changed.
|
void |
ObjectChooserListener.selectionChanged(BaseObject<G,A,R,?> gameObject)
The selected (
ObjectChooser.getSelection() or ObjectChooser.getSelections() may have changed. |
Modifier and Type | Interface and Description |
---|---|
interface |
Archetype<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
Reflects an Archetype.
|
interface |
TestArchetype
An
Archetype implementation for testing purposes. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractArchetype<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
Abstract base class for
Archetype implementations. |
class |
TestDefaultArchetype
An
Archetype implementation for testing purposes. |
class |
TestUndefinedArchetype
An undefined
Archetype implementation for testing purposes. |
Modifier and Type | Method and Description |
---|---|
ArchetypeType |
ArchetypeTypeSet.getArchetypeTypeByBaseObject(BaseObject<?,?,?,?> baseObject)
Returns the
ArchetypeType for the given BaseObject . |
String |
ArchetypeTypeSet.getDisplayName(BaseObject<?,?,?,?> baseObject)
Returns a description of this type.
|
boolean |
ArchetypeType.matches(BaseObject<?,?,?,?> baseObject)
Checks whether a
BaseObject matches all type attributes. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBaseObject<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>,T extends BaseObject<G,A,R,T>>
Default implementation for
GameObject implementing classes. |
interface |
BaseObject<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>,T extends BaseObject<G,A,R,T>> |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBaseObject<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>,T extends BaseObject<G,A,R,T>>
Default implementation for
GameObject implementing classes. |
Modifier and Type | Method and Description |
---|---|
private static void |
AbstractBaseObjectTest.checkDirection(BaseObject<?,?,?,?> gameObject,
int direction)
Checks that the "direction" attribute of a
GameObject contains
the expected value. |
private static void |
AbstractBaseObjectTest.checkName(BaseObject<?,?,?,?> gameObject,
String name,
String nameAttribute)
Checks that the
NAME attribute of an GameObject contains the expected value. |
private static void |
AbstractBaseObjectTest.checkType(BaseObject<?,?,?,?> gameObject,
int type)
Checks that the
TYPE attribute of a GameObject
contains the expected value. |
boolean |
AbstractBaseObject.isEqual(BaseObject<?,?,?,?> gameObject)
Compares this object to another game object.
|
boolean |
BaseObject.isEqual(BaseObject<?,?,?,?> gameObject)
Compares this object to another game object.
|
Modifier and Type | Method and Description |
---|---|
static int[] |
Connections.parseConnections(BaseObject<?,?,?,?> gameObject)
Extract the "connected" value(s) from a given game object.
|
Modifier and Type | Method and Description |
---|---|
void |
ExitLocation.updateExitObject(BaseObject<?,?,?,?> gameObject,
boolean updateName,
File sourceMapFile)
Updates exit information.
|
Modifier and Type | Method and Description |
---|---|
<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
FaceObjectProviders.getFace(BaseObject<G,A,R,?> baseObject)
Returns the face of a
BaseObject as an ImageIcon . |
Modifier and Type | Method and Description |
---|---|
static <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
FillUtils.fill(MapModel<G,A,R> mapModel,
Collection<MapSquare<G,A,R>> selection,
InsertionMode<G,A,R> insertionMode,
List<? extends BaseObject<G,A,R,?>> gameObjects,
int density,
boolean noAdjacent)
Fills a set of squares in a map.
|
void |
FloodFill.floodFill(MapModel<G,A,R> mapModel,
Point start,
List<? extends BaseObject<G,A,R,?>> archList,
InsertionModeSet<G,A,R> insertionModeSet)
Flood-fill the map.
|
static <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
FillUtils.floodFill(MapModel<G,A,R> mapModel,
Point start,
List<? extends BaseObject<G,A,R,?>> gameObjects,
InsertionModeSet<G,A,R> insertionModeSet)
Flood-fill the the map, starting at the cursor position.
|
Modifier and Type | Class and Description |
---|---|
class |
MultiArchData<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>,T extends BaseObject<G,A,R,T>>
Class related to
GameObject to store multi-part information. |
Modifier and Type | Interface and Description |
---|---|
interface |
GameObject<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
A
GameObject instance reflects a game object (object on a map). |
Modifier and Type | Class and Description |
---|---|
class |
AbstractGameObject<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
Abstract base class of
GameObject implementations. |
class |
DefaultIsoGameObject<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
Default implementation for
GameObject implementing classes. |
class |
TestGameObject
A
GameObject implementation for testing purposes. |
Modifier and Type | Field and Description |
---|---|
private BaseObject<?,?,?,?> |
NotInsideContainerException.item
The
GameObject that was not inside a / the container but should
have been. |
Modifier and Type | Method and Description |
---|---|
BaseObject<?,?,?,?> |
NotInsideContainerException.getItem()
Returns the GameObject that was not inside a container but should have
been.
|
Modifier and Type | Method and Description |
---|---|
static String |
GameObjectUtils.getSyntaxErrors(BaseObject<?,?,?,?> gameObject,
ArchetypeType type)
This method checks the objectText for syntax errors.
|
boolean |
DefaultIsoGameObject.isEqual(BaseObject<?,?,?,?> gameObject)
Compares this object to another game object.
|
void |
TestGameObject.propagateElevation(BaseObject<?,?,?,?> gameObject)
If there is elevation data in the other game object, move it to here.
|
void |
GameObject.propagateElevation(BaseObject<?,?,?,?> gameObject)
If there is elevation data in the other game object, move it to here.
|
Modifier and Type | Method and Description |
---|---|
private static BaseObject<?,?,?,?> |
AttributeListUtilsTest.newArchetype(String objectText)
Creates a new archetype.
|
Modifier and Type | Method and Description |
---|---|
static String |
AttributeListUtils.diffArchTextKeys(BaseObject<?,?,?,?> gameObject,
BaseObject<?,?,?,?> archetype)
Returns all attributes from the given game object that don't exist in an
archetype.
|
static String |
AttributeListUtils.diffArchTextKeys(BaseObject<?,?,?,?> gameObject,
BaseObject<?,?,?,?> archetype)
Returns all attributes from the given game object that don't exist in an
archetype.
|
static String |
AttributeListUtils.diffArchTextValues(BaseObject<?,?,?,?> archetype,
CharSequence attributes)
Returns all entries from the given attributes that don't exist in an
archetype.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MapCursor.insertGameObject(boolean performAction,
BaseObject<G,A,R,?> gameObject,
boolean insertAtEnd,
boolean join)
Inserts a
GameObject before the selected game object. |
Modifier and Type | Method and Description |
---|---|
static String |
MapLocation.getMapPath(BaseObject<?,?,?,?> gameObject,
boolean allowRandomMapParameters)
Returns the exit map path of a
BaseObject . |
private static String |
MapLocation.getRandomMapParameter(BaseObject<?,?,?,?> gameObject,
String parameterName)
Extracts a parameter value for an exit to a random map.
|
Constructor and Description |
---|
MapLocation(BaseObject<?,?,?,?> gameObject,
boolean allowRandomMapParameters)
Creates a new instance from a
BaseObject instance. |
NoExitPathException(BaseObject<?,?,?,?> baseObject)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
static void |
TestMapModelHelper.checkContents(Iterable<TestGameObject> mapSquare,
BaseObject<?,?,?,?>... gameObjects)
Checks that a
MapSquare contains the given game objects. |
TestGameObject |
TestMapModelHelper.insertArchetype(GameObjectContainer<TestGameObject,TestMapArchObject,TestArchetype> gameObject,
BaseObject<TestGameObject,TestMapArchObject,TestArchetype,?> archetype)
Inserts an archetype into a game object.
|
TestGameObject |
TestMapModelHelper.insertArchetype(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel,
int x,
int y,
BaseObject<TestGameObject,TestMapArchObject,TestArchetype,?> archetype,
boolean join)
Inserts an archetype game object into a map model.
|
TestGameObject |
TestMapModelHelper.insertArchetype(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel,
Point point,
BaseObject<TestGameObject,TestMapArchObject,TestArchetype,?> archetype,
boolean join)
Inserts an archetype game object into a map model.
|
G |
DefaultMapModel.insertArchToMap(BaseObject<G,A,R,?> templateBaseObject,
G nextGameObject,
Point pos,
boolean join)
Insert a game object to the map at a specified position.
|
G |
MapModel.insertArchToMap(BaseObject<G,A,R,?> templateBaseObject,
G nextGameObject,
Point pos,
boolean join)
Insert a game object to the map at a specified position.
|
G |
DefaultMapModel.insertBaseObject(BaseObject<G,A,R,?> baseObject,
Point pos,
boolean allowMany,
boolean join,
InsertionMode<G,A,R> insertionMode)
Inserts a
BaseObject to a map. |
G |
MapModel.insertBaseObject(BaseObject<G,A,R,?> baseObject,
Point pos,
boolean allowMany,
boolean join,
InsertionMode<G,A,R> insertionMode)
Inserts a
BaseObject to a map. |
Constructor and Description |
---|
CannotInsertGameObjectException(BaseObject<?,?,?,?> archetype,
Point point)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractMapViewSettings.isEditType(BaseObject<?,?,?,?> gameObject)
Get information whether the gameObject is edited.
|
boolean |
MapViewSettings.isEditType(BaseObject<?,?,?,?> gameObject)
Get information whether the gameObject is edited.
|
Modifier and Type | Method and Description |
---|---|
private static String |
GameObjectSpell.getName(BaseObject<?,?,?,?> archetype)
Return the name to use for a given archetype.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultArchetype
An Atrinik
Archetype . |
class |
UndefinedArchetype
The class
UndefinedArchetype implements an undefined Atrinik
archetype. |
Modifier and Type | Class and Description |
---|---|
class |
GameObject
The
GameObject class handles the Atrinik GameObjects. |
Modifier and Type | Method and Description |
---|---|
void |
GameObject.propagateElevation(BaseObject<?,?,?,?> gameObject)
If there is elevation data in the other game object, move it to here.
|
Modifier and Type | Method and Description |
---|---|
boolean |
GameObject.isEqual(BaseObject<?,?,?,?> gameObject)
Compares this object to another game object.
|
void |
GameObject.propagateElevation(BaseObject<?,?,?,?> gameObject)
If there is elevation data in the other game object, move it to here.
|
Modifier and Type | Method and Description |
---|---|
void |
GameObject.propagateElevation(BaseObject<?,?,?,?> gameObject)
If there is elevation data in the other game object, move it to here.
|
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.