com.threerings.tudey.server.logic
Class ActionLogic.ExpressionSwitch
java.lang.Object
com.threerings.util.ShallowObject
com.threerings.tudey.server.logic.Logic
com.threerings.tudey.server.logic.ActionLogic
com.threerings.tudey.server.logic.ActionLogic.ExpressionSwitch
- Enclosing class:
- ActionLogic
public static class ActionLogic.ExpressionSwitch
- extends ActionLogic
Handles an expression switch action.
| Nested classes/interfaces inherited from class com.threerings.tudey.server.logic.ActionLogic |
ActionLogic.AbstractMove, ActionLogic.Compound, ActionLogic.Conditional, ActionLogic.Delayed, ActionLogic.DestroyActor, ActionLogic.ExpressionSwitch, ActionLogic.FireEffect, ActionLogic.ForceClientAction, ActionLogic.MoveAll, ActionLogic.MoveBody, ActionLogic.Random, ActionLogic.SetFlag, ActionLogic.SetVariable, ActionLogic.Signal, ActionLogic.SpawnActor, ActionLogic.SpawnRandomTranslatedActor, ActionLogic.SpawnRotatedActor, ActionLogic.SpawnTransformedActor, ActionLogic.StepLimitMobile, ActionLogic.Switch, ActionLogic.Targeted, ActionLogic.WarpActor, ActionLogic.WarpTransformedActor |
| 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 |
ActionLogic.ExpressionSwitch
public ActionLogic.ExpressionSwitch()
execute
public boolean execute(int timestamp,
Logic activator)
- Description copied from class:
ActionLogic
- Executes the action.
- Specified by:
execute in class ActionLogic
activator - the entity that triggered the action.
- Returns:
- true of the action completed successfully
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 Logic
Copyright © 2011. All Rights Reserved.