Package | Description |
---|---|
net.sf.gridarta.gui.dialog.gameobjectattributes | |
net.sf.gridarta.model.archetypetype |
Defines types of
GameObjects with corresponding attributes. |
net.sf.gridarta.model.gameobject |
GameObjects are the objects based on Archetypes found on maps.
|
net.sf.gridarta.model.validation.checks |
This package contains the checks for validating maps.
|
Modifier and Type | Field and Description |
---|---|
private ArchetypeType |
GameObjectAttributesDialog.archetypeType
|
Modifier and Type | Method and Description |
---|---|
String |
DialogAttributeString.getObjectText(G gameObject,
Archetype<G,A,R> archetype,
String[] newMsg,
ArchetypeType archetypeType)
Returns the attribute text for this attribute.
|
String |
DialogAttributeList2.getObjectText(G gameObject,
Archetype<G,A,R> archetype,
String[] newMsg,
ArchetypeType archetypeType)
Returns the attribute text for this attribute.
|
String |
DialogAttributeBoolSpec.getObjectText(G gameObject,
Archetype<G,A,R> archetype,
String[] newMsg,
ArchetypeType archetypeType)
Returns the attribute text for this attribute.
|
String |
DialogAttributeAnimationName.getObjectText(G gameObject,
Archetype<G,A,R> archetype,
String[] newMsg,
ArchetypeType archetypeType)
Returns the attribute text for this attribute.
|
String |
DialogAttributeBool.getObjectText(G gameObject,
Archetype<G,A,R> archetype,
String[] newMsg,
ArchetypeType archetypeType)
Returns the attribute text for this attribute.
|
String |
DialogAttributeScriptFile.getObjectText(G gameObject,
Archetype<G,A,R> archetype,
String[] newMsg,
ArchetypeType archetypeType)
Returns the attribute text for this attribute.
|
String |
DialogAttributeTreasure.getObjectText(G gameObject,
Archetype<G,A,R> archetype,
String[] newMsg,
ArchetypeType archetypeType)
Returns the attribute text for this attribute.
|
String |
DialogAttributeSpell.getObjectText(G gameObject,
Archetype<G,A,R> archetype,
String[] newMsg,
ArchetypeType archetypeType)
Returns the attribute text for this attribute.
|
String |
DialogAttributeLong.getObjectText(G gameObject,
Archetype<G,A,R> archetype,
String[] newMsg,
ArchetypeType archetypeType)
Returns the attribute text for this attribute.
|
abstract String |
DialogAttribute.getObjectText(G gameObject,
Archetype<G,A,R> archetype,
String[] newMsg,
ArchetypeType archetypeType)
Returns the attribute text for this attribute.
|
String |
DialogAttributeBitmask.getObjectText(G gameObject,
Archetype<G,A,R> archetype,
String[] newMsg,
ArchetypeType archetypeType)
Returns the attribute text for this attribute.
|
String |
DialogAttributeFloat.getObjectText(G gameObject,
Archetype<G,A,R> archetype,
String[] newMsg,
ArchetypeType archetypeType)
Returns the attribute text for this attribute.
|
String |
DialogAttributeText.getObjectText(G gameObject,
Archetype<G,A,R> archetype,
String[] newMsg,
ArchetypeType archetypeType)
Returns the attribute text for this attribute.
|
String |
DialogAttributeList.getObjectText(G gameObject,
Archetype<G,A,R> archetype,
String[] newMsg,
ArchetypeType archetypeType)
Returns the attribute text for this attribute.
|
String |
DialogAttributeInvSpell.getObjectText(G gameObject,
Archetype<G,A,R> archetype,
String[] newMsg,
ArchetypeType archetypeType)
Returns the attribute text for this attribute.
|
String |
DialogAttributeFaceName.getObjectText(G gameObject,
Archetype<G,A,R> archetype,
String[] newMsg,
ArchetypeType archetypeType)
Returns the attribute text for this attribute.
|
String |
DialogAttributeZSpell.getObjectText(G gameObject,
Archetype<G,A,R> archetype,
String[] newMsg,
ArchetypeType archetypeType)
Returns the attribute text for this attribute.
|
String |
DialogAttributeMapPath.getObjectText(G gameObject,
Archetype<G,A,R> archetype,
String[] newMsg,
ArchetypeType archetypeType)
Returns the attribute text for this attribute.
|
String |
DialogAttributeInt.getObjectText(G gameObject,
Archetype<G,A,R> archetype,
String[] newMsg,
ArchetypeType archetypeType)
Returns the attribute text for this attribute.
|
Modifier and Type | Field and Description |
---|---|
private ArchetypeType |
ArchetypeTypeSet.fallbackArchetypeType
The default (fallback)
ArchetypeType used for game objects not
matching any defined type. |
Modifier and Type | Field and Description |
---|---|
private List<ArchetypeType> |
ArchetypeTypeSet.archetypeTypeList
Lists with all defined
ArchetypeTypes . |
private Map<String,ArchetypeType> |
ArchetypeTypeSet.archetypeTypeNames
Table with type archetype type name as keys (
String ), and ArchetypeType object as values (ArchetypeType ). |
Modifier and Type | Method and Description |
---|---|
ArchetypeType |
ArchetypeTypeSet.getArchetypeType(String typeName)
Returns an
ArchetypeType by type name. |
ArchetypeType |
ArchetypeTypeSet.getArchetypeTypeByBaseObject(BaseObject<?,?,?,?> baseObject)
Returns the
ArchetypeType for the given BaseObject . |
ArchetypeType |
ArchetypeTypeSet.getArchetypeTypeByName(String typeName)
Finds and returns the type-structure (
ArchetypeType ) that
matches the given 'typeName'. |
ArchetypeType |
ArchetypeTypeParser.loadAttributeList(Element typeElement,
ErrorViewCollector errorViewCollector,
ArchetypeType parentArchetypeType,
ArchetypeTypeSet archetypeTypeSet,
IgnorelistsDefinition ignorelistsDefinition,
boolean isDefaultType)
Parses an element which contains a list of
Constants.XML_ELEMENT_ATTRIBUTE elements from a types.xml file. |
private ArchetypeType |
ArchetypeTypeSetParser.parseDefaultType(ArchetypeTypeSet archetypeTypeSet,
Element defaultTypeElement,
ErrorViewCollector errorViewCollector,
IgnorelistsDefinition ignorelistsDefinition)
Parses the
Constants.XML_ELEMENT_DEFAULT_TYPE element of a
types.xml file. |
Modifier and Type | Method and Description |
---|---|
Iterator<ArchetypeType> |
ArchetypeTypeSet.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
ArchetypeTypeSet.addArchetypeType(ArchetypeType archetypeType)
Adds an
ArchetypeType instance. |
private static void |
ArchetypeTypeParser.addDefaultList(Iterable<ArchetypeAttributeSection> archetypeType,
ArchetypeType newArchetypeType,
Collection<String> autoIgnoreTable,
Collection<String> ignoreTable)
Adds all attributes of an
ArchetypeType to an ArchetypeAttributeSection that are not ignored. |
private static void |
ArchetypeTypeParser.addImportList(String importName,
ArchetypeType newArchetypeType,
ErrorViewCollector errorViewCollector,
String typeName,
ArchetypeTypeSet archetypeTypeSet,
Collection<String> autoIgnoreTable)
Adds all imported attributes to an
ArchetypeAttributeSection . |
int |
ArchetypeTypeSet.getArchetypeTypeIndex(ArchetypeType archetypeType)
Returns the index of an
ArchetypeType instance. |
boolean |
ArchetypeTypeSet.isFallbackArchetypeType(ArchetypeType archetypeType)
Returns whether a given
ArchetypeType is the fallback archetype
type used for game objects not matching any defined archetype type. |
ArchetypeType |
ArchetypeTypeParser.loadAttributeList(Element typeElement,
ErrorViewCollector errorViewCollector,
ArchetypeType parentArchetypeType,
ArchetypeTypeSet archetypeTypeSet,
IgnorelistsDefinition ignorelistsDefinition,
boolean isDefaultType)
Parses an element which contains a list of
Constants.XML_ELEMENT_ATTRIBUTE elements from a types.xml file. |
private void |
ArchetypeTypeSetParser.parseTypes(ArchetypeTypeSet archetypeTypeSet,
Element typeElement,
ErrorViewCollector errorViewCollector,
ArchetypeType defaultArchetypeType,
IgnorelistsDefinition ignorelistsDefinition)
Parses an
Constants.XML_ELEMENT_TYPE element of a types.xml
file. |
Modifier and Type | Method and Description |
---|---|
static String |
GameObjectUtils.getSyntaxErrors(BaseObject<?,?,?,?> gameObject,
ArchetypeType type)
This method checks the objectText for syntax errors.
|
Modifier and Type | Field and Description |
---|---|
private Map<ArchetypeType,int[]> |
EnvironmentChecker.inv
Maps
ArchetypeTypes to allowed environment types. |
private Map<ArchetypeType,Void> |
EnvironmentChecker.noMap
The
ArchetypeTypes that are not allowed on maps. |
Modifier and Type | Method and Description |
---|---|
private static <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
ArchetypeTypeChecks.addChecks(ArchetypeTypeSet archetypeTypeSet,
AttributeRangeChecker<G,A,R> attributeRangeChecker,
ArchetypeType archetypeType)
Adds attribute range checks for all defined attributes of an
ArchetypeType . |
void |
EnvironmentChecker.addInv(ArchetypeType archetypeType,
int[] types)
Sets the allowed environment game object types for an
ArchetypeType . |
void |
EnvironmentChecker.addNoMap(ArchetypeType archetypeType)
Marks an
ArchetypeType to not be allowed directly on maps. |
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.