atavism.server.objects
Class ObjectStub
java.lang.Object
atavism.server.objects.NamedPropertyClass
atavism.server.objects.Entity
atavism.server.objects.ObjectStub
- All Implemented Interfaces:
- EntityWithWorldNode, java.io.Serializable
- Direct Known Subclasses:
- InteractiveObject.InteractiveObjectEntity
public class ObjectStub
- extends Entity
- implements EntityWithWorldNode
- See Also:
- Serialized Form
Methods inherited from class atavism.server.objects.Entity |
addSubObjectNamespace, equals, equals, getLock, getNamespace, getOid, getPersistenceFlag, getProperty, getSubObjectNamespaces, getSubObjectNamespacesInt, getTransientDataRef, getType, hashCode, hasSubObjectNamespace, isDeleted, registerTransientPropertyKey, removeProperty, removeSubObjectNamespace, setDeleted, setNamespace, setOid, setPersistenceFlag, setProperty, setSubObjectNamespaces, setSubObjectNamespacesInt, setType, toBytes, unregisterTransientPropertyKey |
Methods inherited from class atavism.server.objects.NamedPropertyClass |
getBooleanProperty, getIntProperty, getName, getPropertyMap, getPropertyMapRef, getStringProperty, lock, modifyIntProperty, setName, setPropertyMap, setupTransient, unlock |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
spawned
protected boolean spawned
behaviors
protected java.util.List<Behavior> behaviors
ObjectStub
public ObjectStub()
ObjectStub
public ObjectStub(OID objId,
InterpolatedWorldNode node,
int template)
toString
public java.lang.String toString()
- Description copied from class:
Entity
- Returns the string describing this entity, useful for logging.
- Overrides:
toString
in class Entity
- Returns:
- string describing entity
getEntity
public Entity getEntity()
- Specified by:
getEntity
in interface EntityWithWorldNode
getInstanceOid
public OID getInstanceOid()
getWorldNode
public InterpolatedWorldNode getWorldNode()
- Specified by:
getWorldNode
in interface EntityWithWorldNode
setWorldNode
public void setWorldNode(InterpolatedWorldNode node)
- Specified by:
setWorldNode
in interface EntityWithWorldNode
setDirLocOrient
public void setDirLocOrient(BasicWorldNode bnode)
- Specified by:
setDirLocOrient
in interface EntityWithWorldNode
getTemplateID
public int getTemplateID()
setTemplateID
public void setTemplateID(int template)
updateWorldNode
public void updateWorldNode()
spawn
public void spawn()
despawn
public void despawn()
unload
public void unload()
addBehavior
public void addBehavior(Behavior behav)
removeBehavior
public void removeBehavior(Behavior behav)
getBehaviors
public java.util.List<Behavior> getBehaviors()
setBehaviors
public void setBehaviors(java.util.List<Behavior> behavs)