com.threerings.tudey.server.logic
Class EntryStateLogic
java.lang.Object
com.threerings.util.ShallowObject
com.threerings.tudey.server.logic.Logic
com.threerings.tudey.server.logic.ActorLogic
com.threerings.tudey.server.logic.EntryStateLogic
- All Implemented Interfaces:
- HasActor
public class EntryStateLogic
- extends ActorLogic
The logic for an entry state actor.
|
Field Summary |
protected EntryLogic |
_entry
The logic of the corresponding entry, if known. |
| Fields inherited from class com.threerings.tudey.server.logic.ActorLogic |
_activator, _actor, _collisionFlagObservers, _collisionFlags, _config, _destroyed, _entityKey, _handlers, _previousSnapshot, _shape, _shapeDidChangeOp, _shapeObservers, _shapeWillChangeOp, _snapshot, _snapshotDelta, _snaptime, _source, MAX_ADJUSTMENT_DISTANCE, MAX_ADJUSTMENT_PATH_LENGTH |
| Methods inherited from class com.threerings.tudey.server.logic.ActorLogic |
addCollisionFlagObserver, addShapeObserver, adjustSpawnPoint, adjustSpawnPoint, bodyWillEnter, bodyWillLeave, createActor, destroy, didInit, getActivator, getActor, getCollisionFlags, getEntityKey, getModel, getPreviousSnapshot, getRotation, getShape, getShapeElement, getSnapshot, getSnapshotDelta, getSource, getTags, getTranslation, init, isActive, isDefaultEntrance, isDestroyed, isRemoved, isStatic, move, remove, removeCollisionFlagObserver, removeOnNextTick, removeShapeObserver, request, set, setActivator, setSource, setVariable, signal, testSpawnPoint, updateCollisionFlags, updateShape, updateSnapshot, warp, warp, warp, wasDestroyed, wasRemoved, wasUpdated |
| Methods inherited from class com.threerings.tudey.server.logic.Logic |
createAction, createCondition, createExpression, createHandler, createRegion, createTarget, getPatrolPath, getSceneManager, getTransform, getTransform, getVariable, init, isVisible, resolveTarget |
_entry
protected EntryLogic _entry
- The logic of the corresponding entry, if known.
EntryStateLogic
public EntryStateLogic()
setEntry
public void setEntry(EntryLogic entry)
- Sets the reference to the corresponding entry.
transfer
public void transfer(Logic source,
Map<Object,Object> refs)
- Description copied from class:
Logic
- Transfers state from the specified source logic. Where relevant, this also takes the place
of addition/startup notification.
- Overrides:
transfer in class ActorLogic
setState
protected void setState(int state,
int entered)
- Sets the actor state and calls
ActorLogic.wasUpdated().