Gridarta Editor
Package net.sf.gridarta.model.gameobject

GameObjects are the objects based on Archetypes found on maps. More...

Classes

class  AbstractGameObject
 Abstract base class of GameObject implementations. More...
 
class  AbstractGameObjectFactory
 Abstract base class for GameObjectFactory implementations. More...
 
class  AbstractIsoGameObjectFactory
 Abstract base class for a GameObjectFactory that creates GameObjects. More...
 
class  DefaultIsoGameObject
 Default implementation for GameObject implementing classes. More...
 
enum  FaceSource
 Enumeration describing the state of the face. More...
 
interface  GameObject
 Reflects a game object (object on a map). More...
 
interface  GameObjectFactory
 Abstract factory for creating GameObject instances. More...
 
class  GameObjectFactoryTest
 Regression tests for GameObjectFactory. More...
 
class  GameObjectUtils
 Utility class for GameObject related functions. More...
 
class  IsoMapSquareInfo
 Provides information about isometric map squares. More...
 
class  MultiArchData
 Class related to GameObject to store multi-part information. More...
 
class  MultiPositionData
 The MultiPositionData class stores an array of numbers which is required in order to calculate display positions of ISO multi-part objects. More...
 
class  MultiPositionEntry
 Encapsulated information about a multi-square image. More...
 
class  NotInsideContainerException
 This exception is thrown in case a method of a GameObject without a container or the wrong container was invoked when a GameObject requires a container. More...
 
class  TestGameObject
 A GameObject implementation for testing purposes. More...
 
class  TestGameObjectFactory
 A GameObjectFactory for regression tests. More...
 

Detailed Description

GameObjects are the objects based on Archetypes found on maps.

Everything related to both of them is handled by this package or one of its sub-packages.

Small GameObject Glossary

GameObjectType
The GameObjectType represents the numerical type of objects along with the associated information read from the types description. Archetypes and GameObjects with the same GameObjectType will display the same variant of the attribute editor dialog.
Archetype
An Archetype is a prototype for the creation of GameObjects. An Archetype is based on a GameObjectType. The information of an Archetype is read from the single archetypes file or collected from the .arc files. Different Archetypes of the same GameObjectType will differ in attributes, e.g. face, weight and value.
GameObject
A GameObject is an instance of an Archetype as found in game data on a map. A GameObject is thus based on this Archetype. A GameObject can override attributes it inherits from an Archetype by re-declaring them. The editor and the server work slightly different regarding GameObjects. The server uses the same structure for Archetypes and GameObjects, and a GameObject is created by copying an Archetype. The editor creates a GameObject by just linking it to its Archetype and only stores the differences.