com.threerings.tudey.server.logic
Class HandlerLogic.BaseActorObserver

java.lang.Object
  extended by com.threerings.util.ShallowObject
      extended by com.threerings.tudey.server.logic.Logic
          extended by com.threerings.tudey.server.logic.HandlerLogic
              extended by com.threerings.tudey.server.logic.HandlerLogic.BaseActorObserver
All Implemented Interfaces:
TudeySceneManager.ActorObserver
Direct Known Subclasses:
HandlerLogic.ActorAdded, HandlerLogic.ActorRemoved
Enclosing class:
HandlerLogic

public abstract static class HandlerLogic.BaseActorObserver
extends HandlerLogic
implements TudeySceneManager.ActorObserver

Base class for HandlerLogic.ActorAdded and HandlerLogic.ActorRemoved.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.tudey.server.logic.HandlerLogic
HandlerLogic.ActorAdded, HandlerLogic.ActorRemoved, HandlerLogic.BaseActorObserver, HandlerLogic.BaseIntersection, HandlerLogic.BaseIntersectionCount, HandlerLogic.Intersection, HandlerLogic.IntersectionStart, HandlerLogic.IntersectionStop, HandlerLogic.Request, HandlerLogic.Shutdown, HandlerLogic.Signal, HandlerLogic.SignalStart, HandlerLogic.SignalStop, HandlerLogic.Startup, HandlerLogic.ThresholdIntersectionCount, HandlerLogic.Tick, HandlerLogic.Timer, HandlerLogic.Transition, HandlerLogic.VariableChanged, HandlerLogic.WarnTimer
 
Nested classes/interfaces inherited from class com.threerings.tudey.server.logic.Logic
Logic.ShapeObserver
 
Constructor Summary
HandlerLogic.BaseActorObserver()
           
 
Method Summary
 void actorAdded(ActorLogic logic)
          Notes that an actor has been added.
 void actorRemoved(ActorLogic logic)
          Notes that an actor has been removed.
 void shutdown(int timestamp, Logic activator)
          Shuts down the handler.
 void startup(int timestamp)
          Starts up the handler.
 void transfer(Logic source, Map<Object,Object> refs)
          Transfers state from the specified source logic.
 
Methods inherited from class com.threerings.tudey.server.logic.HandlerLogic
getEntityKey, getRotation, getTranslation, init, isActive, removed, variableChanged
 
Methods inherited from class com.threerings.tudey.server.logic.Logic
addShapeObserver, getModel, getPatrolPath, getSceneManager, getShape, getTags, getTransform, getTransform, getVariable, init, isDefaultEntrance, isVisible, removeShapeObserver, request, resolveTarget, setVariable, signal
 
Methods inherited from class com.threerings.util.ShallowObject
equals, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerLogic.BaseActorObserver

public HandlerLogic.BaseActorObserver()
Method Detail

actorAdded

public void actorAdded(ActorLogic logic)
Description copied from interface: TudeySceneManager.ActorObserver
Notes that an actor has been added.

Specified by:
actorAdded in interface TudeySceneManager.ActorObserver

actorRemoved

public void actorRemoved(ActorLogic logic)
Description copied from interface: TudeySceneManager.ActorObserver
Notes that an actor has been removed.

Specified by:
actorRemoved in interface TudeySceneManager.ActorObserver

startup

public void startup(int timestamp)
Description copied from class: HandlerLogic
Starts up the handler.

Overrides:
startup in class HandlerLogic

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 HandlerLogic

shutdown

public void shutdown(int timestamp,
                     Logic activator)
Description copied from class: HandlerLogic
Shuts down the handler.

Overrides:
shutdown in class HandlerLogic


Copyright © 2011. All Rights Reserved.