com.threerings.tudey.server.logic
Class EntryLogic.StatefulProp

java.lang.Object
  extended by com.threerings.util.ShallowObject
      extended by com.threerings.tudey.server.logic.Logic
          extended by com.threerings.tudey.server.logic.EntryLogic
              extended by com.threerings.tudey.server.logic.EntryLogic.StatefulProp
Enclosing class:
EntryLogic

public static class EntryLogic.StatefulProp
extends EntryLogic

Logic for stateful props.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.tudey.server.logic.EntryLogic
EntryLogic.Camera, EntryLogic.StatefulProp
 
Nested classes/interfaces inherited from class com.threerings.tudey.server.logic.Logic
Logic.ShapeObserver
 
Field Summary
protected  ActorLogic _actor
          The logic for the state actor.
 
Fields inherited from class com.threerings.tudey.server.logic.EntryLogic
_defaultEntrance, _entityKey, _entry, _handlers, _patrolPath, _rotation, _shape, _tags, _translation
 
Fields inherited from class com.threerings.tudey.server.logic.Logic
_scenemgr, _variables
 
Constructor Summary
EntryLogic.StatefulProp()
           
 
Method Summary
 void transfer(Logic source, Map<Object,Object> refs)
          Transfers state from the specified source logic.
protected  void wasAdded()
          Override to perform custom startup.
protected  void wasRemoved()
          Override to perform custom cleanup.
 
Methods inherited from class com.threerings.tudey.server.logic.EntryLogic
added, didInit, getEntityKey, getEntry, getModel, getPatrolPath, getRotation, getShape, getTags, getTranslation, init, isActive, isDefaultEntrance, removed, request, setVariable, signal
 
Methods inherited from class com.threerings.tudey.server.logic.Logic
addShapeObserver, createAction, createCondition, createExpression, createHandler, createRegion, createTarget, getSceneManager, getTransform, getTransform, getVariable, init, isVisible, removeShapeObserver, resolveTarget
 
Methods inherited from class com.threerings.util.ShallowObject
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_actor

protected ActorLogic _actor
The logic for the state actor.

Constructor Detail

EntryLogic.StatefulProp

public EntryLogic.StatefulProp()
Method Detail

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 EntryLogic

wasAdded

protected void wasAdded()
Description copied from class: EntryLogic
Override to perform custom startup.

Overrides:
wasAdded in class EntryLogic

wasRemoved

protected void wasRemoved()
Description copied from class: EntryLogic
Override to perform custom cleanup.

Overrides:
wasRemoved in class EntryLogic