Package net.sf.gridarta.model.archetypetype
Defines types of
GameObjects with corresponding attributes. The game servers use different
types of game objects, such as floors, monsters, traps, etc. Each of these
types uses a specific set of attributes. Gridarta has no built-in knowledge
about these. Instead it reads a configuration file, "types.xml", which
defines game object types with corresponding attributes.
ArchetypeTypeSetParser implements
a parser for the "types.xml" file. ArchetypeTypeSet
is a model class that stores all type definitions.
-
Interface Summary Interface Description ArchetypeAttributeFactory Interface for classes implementingArchetypeAttributefactories.ArchetypeAttributeVisitor Interface for visitors ofArchetypeAttributes. -
Class Summary Class Description AbstractArchetypeAttributeInvSpell Abstract base class forArchetypeAttributesfor inventory spells.AbstractArchetypeAttributeList Abstract base class forArchetypeAttributesfor lists.AbstractArchetypeAttributeSpell Abstract base class forArchetypeAttributesfor spells.ArchetypeAttribute This Class contains the data of one archetype attribute.ArchetypeAttributeAnimationName AnArchetypeAttributefor selecting animation names.ArchetypeAttributeBitmask AnArchetypeAttributefor selecting bitmask values.ArchetypeAttributeBool AnArchetypeAttributefor selecting boolean values.ArchetypeAttributeBoolSpec AnArchetypeAttributefor selecting boolean values having specific "true" and "false" values.ArchetypeAttributeDefinition Holds the key/value pair of an archetype attribute definition.ArchetypeAttributeFaceName AnArchetypeAttributefor selecting face names.ArchetypeAttributeFixed AnArchetypeAttributedisplaying a fixed string.ArchetypeAttributeFloat AnArchetypeAttributefor selecting floating point values.ArchetypeAttributeInt AnArchetypeAttributefor selecting integer values.ArchetypeAttributeInvSpell AnArchetypeAttributefor selecting a spell encoded as an inventory game object.ArchetypeAttributeList AnArchetypeAttributefor selecting a value from a list.ArchetypeAttributeList2 AnArchetypeAttributefor selecting a value from two lists.ArchetypeAttributeLong AnArchetypeAttributefor selecting long integer values.ArchetypeAttributeMapPath AnArchetypeAttributefor selecting map path names.ArchetypeAttributeParser Utility class for parsingArchetypeAttributes.ArchetypeAttributeScriptFile AnArchetypeAttributefor selecting script files.ArchetypeAttributesDefinition A set ofArchetypeAttributeDefinitions.ArchetypeAttributeSection A set ofArchetypeAttributes.ArchetypeAttributeSections A list ofArchetypeAttributeSectioninstances.ArchetypeAttributeSpell AnArchetypeAttributefor selecting spells encoded as in integer attribute.ArchetypeAttributeString AnArchetypeAttributefor selecting string values.ArchetypeAttributeText AnArchetypeAttributefor selecting text fields.ArchetypeAttributeTreasure AnArchetypeAttributerepresenting a treasurelist.ArchetypeAttributeZSpell AnArchetypeAttributefor selecting an optional spell encoded as an integer attribute.ArchetypeType Contains the data of one Gridarta Object-Type.ArchetypeTypeList A list definition.ArchetypeTypeParser Utility class for parsingArchetypeTypeinstances.ArchetypeTypeSet ManagesArchetypeTypeinstances, list, and bitmask definitions.ArchetypeTypeSetParser Parser forArchetypeTypeSets("types.xml" files).AttributeBitmask This class manages bitmask values which appear in Gridarta archetype attributes.Constants Constants needed to parse "types.xml" files.DefaultArchetypeAttributeFactory Default implementation ofArchetypeAttributeFactory.IgnorelistsDefinition The contents of an <ignorelists> element of a types.xml file. -
Exception Summary Exception Description MissingAttributeException AnExceptionthrown if an attribute key does not exist.