public class ObjectStub extends Entity implements EntityWithWorldNode
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Behavior> |
behaviors |
protected boolean |
spawned |
log, staticLock, subObjectNamespacesInt, transientPropertyKeys, typelock, name| Constructor and Description |
|---|
ObjectStub() |
ObjectStub(OID objId,
InterpolatedWorldNode node,
int template) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBehavior(Behavior behav) |
void |
despawn() |
java.util.List<Behavior> |
getBehaviors() |
Entity |
getEntity() |
OID |
getInstanceOid() |
int |
getTemplateID() |
InterpolatedWorldNode |
getWorldNode() |
void |
removeBehavior(Behavior behav) |
void |
setBehaviors(java.util.List<Behavior> behavs) |
void |
setDirLocOrient(BasicWorldNode bnode) |
void |
setTemplateID(int template) |
void |
setWorldNode(InterpolatedWorldNode node) |
void |
spawn() |
java.lang.String |
toString()
Returns the string describing this entity, useful for logging.
|
void |
unload() |
void |
updateWorldNode() |
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, unregisterTransientPropertyKeygetBooleanProperty, getIntProperty, getLongProperty, getName, getPropertyMap, getPropertyMapRef, getStringProperty, lock, modifyIntProperty, setName, setPropertyMap, setupTransient, unlockclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetOid, setOidprotected boolean spawned
protected java.util.List<Behavior> behaviors
public ObjectStub()
public ObjectStub(OID objId, InterpolatedWorldNode node, int template)
public java.lang.String toString()
Entitypublic Entity getEntity()
getEntity in interface EntityWithWorldNodepublic OID getInstanceOid()
public InterpolatedWorldNode getWorldNode()
getWorldNode in interface EntityWithWorldNodepublic void setWorldNode(InterpolatedWorldNode node)
setWorldNode in interface EntityWithWorldNodepublic void setDirLocOrient(BasicWorldNode bnode)
setDirLocOrient in interface EntityWithWorldNodepublic int getTemplateID()
public void setTemplateID(int template)
public void updateWorldNode()
public void spawn()
public void despawn()
public void unload()
public void addBehavior(Behavior behav)
public void removeBehavior(Behavior behav)
public java.util.List<Behavior> getBehaviors()
public void setBehaviors(java.util.List<Behavior> behavs)