![]() |
Gridarta Editor
|
An undefined Archetype implementation for testing purposes. More...
Public Member Functions | |
TestUndefinedArchetype | clone () |
boolean | isUndefinedArchetype () |
void | setUsesDirection (final boolean usesDirection) |
Sets the return value of usesDirection(). More... | |
TestUndefinedArchetype (@NotNull final String archetypeName, @NotNull final FaceObjectProviders faceObjectProviders, @NotNull final AnimationObjects animationObjects) | |
Creates a new instance. More... | |
boolean | usesDirection () |
![]() | |
G | asGameObject () |
R | clone () |
R | getArchetype () |
String | getArchetypeName () |
String | getAttributeString ( @NotNull final String attributeName, final boolean queryArchetype) |
String | getEditorFolder () |
MapSquare< G, A, R > | getMapSquare () |
MapSquare< G, A, R > | getMapSquareOptional () |
int | getMultiPartNr () |
int | getMultiShapeID () |
int | getMultiX () |
int | getMultiY () |
boolean | isArtifact () |
boolean | isLowestPart () |
G | newInstance ( @NotNull final GameObjectFactory< G, A, R > gameObjectFactory) |
void | notifyBeginChange () |
@noinspection NoopMethodInAbstractClass More... | |
void | notifyEndChange () |
@noinspection NoopMethodInAbstractClass More... | |
void | notifyTransientChange () |
@noinspection NoopMethodInAbstractClass More... | |
void | setArchetypeName ( @NotNull final String archetypeName) |
void | setArtifact () |
void | setEditorFolder ( @Nullable final String editorFolder) |
void | setLowestPart (final boolean isLowestPart) |
void | setMultiPartNr (final int multiPartNr) |
void | setMultiShapeID (final int multiShapeID) |
void | setMultiX (final int multiX) |
void | setMultiY (final int multiY) |
void | visit ( @NotNull final BaseObjectVisitor< G, A, R > baseObjectVisitor) |
![]() | |
void | addFirst ( @NotNull G gameObject) |
Adds the given GameObject at the beginning of this Container. More... | |
void | addLast ( @NotNull G gameObject) |
Adds the given GameObject at the end of this Container. More... | |
String | getArchetypeName () |
Returns the name of this archetype. More... | |
Collection< String > | getAttributeKeys () |
Returns all attribute keys of this archetype. More... | |
String | getEditorFolder () |
Returns the editor folder. More... | |
int | getMultiPartNr () |
Returns the multi part id. More... | |
int | getMultiShapeID () |
Returns the multi shape id. More... | |
int | getMultiX () |
Returns the x-distance of this part to the head part. More... | |
int | getMultiY () |
Returns the y-distance of this part to the head part. More... | |
boolean | isArtifact () |
Returns whether this GameObject is an Artifact. More... | |
boolean | isLowestPart () |
Returns whether this part has the smallest y coordinate when painting the image. More... | |
boolean | isUndefinedArchetype () |
Return whether this archetype denotes an undefined archetype. More... | |
Iterator< G > | iterator () |
Returns all inventory objects. More... | |
void | setArchetypeName ( @NotNull String archetypeName) |
Sets the name of this archetype. More... | |
void | setArtifact () |
Converts this game object into an artifact. More... | |
void | setEditorFolder ( @Nullable String editorFolder) |
Set the editor folder. More... | |
void | setLowestPart (boolean isLowestPart) |
Sets whether this part has the smallest y coordinate when painting the image. More... | |
void | setMultiPartNr (int multiPartNr) |
Sets the multi part id. More... | |
void | setMultiShapeID (int multiShapeID) |
Sets the multi shape id. More... | |
void | setMultiX (int multiX) |
Sets the x-position of this part of a multi-part object. More... | |
void | setMultiY (int multiY) |
Sets the y-position of this part of a multi-part object. More... | |
Protected Member Functions | |
TestArchetype | getThis () |
![]() | |
AbstractArchetype ( @NotNull final String archetypeName, @NotNull final FaceObjectProviders faceObjectProviders, @NotNull final AnimationObjects animationObjects) | |
Creates a new instance. More... | |
String | getEffectiveFaceName ( @NotNull final String faceName) |
Returns the effective face name for faceName for a given real face name. More... | |
Static Private Attributes | |
static final long | serialVersionUID = 1L |
The serial version UID. More... | |
An undefined Archetype implementation for testing purposes.
Definition at line 32 of file TestUndefinedArchetype.java.
net.sf.gridarta.model.archetype.TestUndefinedArchetype.TestUndefinedArchetype | ( | @NotNull final String | archetypeName, |
@NotNull final FaceObjectProviders | faceObjectProviders, | ||
@NotNull final AnimationObjects | animationObjects | ||
) |
Creates a new instance.
archetypeName | the name of the archetype |
faceObjectProviders | the face object providers for looking up faces |
animationObjects | the animation objects for looking up animations |
Definition at line 46 of file TestUndefinedArchetype.java.
TestUndefinedArchetype net.sf.gridarta.model.archetype.TestUndefinedArchetype.clone | ( | ) |
Implements net.sf.gridarta.model.archetype.TestArchetype.
Definition at line 73 of file TestUndefinedArchetype.java.
References net.sf.gridarta.model.archetype.TestUndefinedArchetype.clone().
Referenced by net.sf.gridarta.model.archetype.TestUndefinedArchetype.clone().
|
protected |
Definition at line 52 of file TestUndefinedArchetype.java.
boolean net.sf.gridarta.model.archetype.TestUndefinedArchetype.isUndefinedArchetype | ( | ) |
Definition at line 62 of file TestUndefinedArchetype.java.
void net.sf.gridarta.model.archetype.TestUndefinedArchetype.setUsesDirection | ( | final boolean | usesDirection | ) |
Sets the return value of usesDirection().
usesDirection | the return value |
Implements net.sf.gridarta.model.archetype.TestArchetype.
Definition at line 57 of file TestUndefinedArchetype.java.
boolean net.sf.gridarta.model.archetype.TestUndefinedArchetype.usesDirection | ( | ) |
Definition at line 67 of file TestUndefinedArchetype.java.
|
staticprivate |
The serial version UID.
Definition at line 37 of file TestUndefinedArchetype.java.