com.threerings.tudey.server.logic
Class HandlerLogic.Signal
java.lang.Object
com.threerings.util.ShallowObject
com.threerings.tudey.server.logic.Logic
com.threerings.tudey.server.logic.HandlerLogic
com.threerings.tudey.server.logic.HandlerLogic.ActionHandlerLogic
com.threerings.tudey.server.logic.HandlerLogic.Signal
- Enclosing class:
- HandlerLogic
public static class HandlerLogic.Signal
- extends HandlerLogic.ActionHandlerLogic
Handles a signal event.
| Nested classes/interfaces inherited from class com.threerings.tudey.server.logic.HandlerLogic |
HandlerLogic.ActionHandlerLogic, HandlerLogic.ActorAdded, HandlerLogic.ActorRemoved, HandlerLogic.BaseActorObserver, HandlerLogic.BaseBodyObserver, HandlerLogic.BaseIntersection, HandlerLogic.BaseIntersectionCount, HandlerLogic.BodyEntered, HandlerLogic.BodyLeft, HandlerLogic.Intersection, HandlerLogic.IntersectionStart, HandlerLogic.IntersectionStop, HandlerLogic.Reference, HandlerLogic.Request, HandlerLogic.Shutdown, HandlerLogic.Signal, HandlerLogic.SignalStart, HandlerLogic.SignalStop, HandlerLogic.Startup, HandlerLogic.ThresholdIntersectionCount, HandlerLogic.Tick, HandlerLogic.Timer, HandlerLogic.Transition, HandlerLogic.VariableChanged, HandlerLogic.WarnTimer |
|
Field Summary |
protected int |
_minTimestamp
The earliest time at which we may execute. |
| Methods inherited from class com.threerings.tudey.server.logic.Logic |
addShapeObserver, createAction, createCondition, createExpression, createHandler, createRegion, createTarget, getModel, getPatrolPath, getSceneManager, getShape, getTags, getTransform, getTransform, getVariable, init, isDefaultEntrance, isVisible, removeShapeObserver, request, resolveTarget, setVariable |
_minTimestamp
protected int _minTimestamp
- The earliest time at which we may execute.
HandlerLogic.Signal
public HandlerLogic.Signal()
signal
public void signal(int timestamp,
Logic source,
String name)
- Description copied from class:
Logic
- Sends a generic "signal" to the logic.
- Overrides:
signal in class Logic
- Parameters:
timestamp - the signal timestamp.source - the source of the signal.
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.ActionHandlerLogic