com.threerings.tudey.server.logic
Class ActionLogic.RotateActor

java.lang.Object
  extended by com.threerings.util.ShallowObject
      extended by com.threerings.tudey.server.logic.Logic
          extended by com.threerings.tudey.server.logic.ActionLogic
              extended by com.threerings.tudey.server.logic.ActionLogic.Targeted
                  extended by com.threerings.tudey.server.logic.ActionLogic.RotateActor
Enclosing class:
ActionLogic

public static class ActionLogic.RotateActor
extends ActionLogic.Targeted

Handles a rotate actor action.


Nested Class Summary
 
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.RotateActor, ActionLogic.SetFlag, ActionLogic.SetVariable, ActionLogic.Signal, ActionLogic.SpawnActor, ActionLogic.SpawnRandomTranslatedActor, ActionLogic.SpawnRotatedActor, ActionLogic.SpawnTransformedActor, ActionLogic.StepLimitMobile, ActionLogic.Switch, ActionLogic.Targeted, ActionLogic.TargetedAction, ActionLogic.WarpActor, ActionLogic.WarpTransformedActor
 
Nested classes/interfaces inherited from class com.threerings.tudey.server.logic.Logic
Logic.ShapeObserver
 
Field Summary
 
Fields inherited from class com.threerings.tudey.server.logic.ActionLogic.Targeted
_target
 
Fields inherited from class com.threerings.tudey.server.logic.ActionLogic
_config, _source, _targets
 
Fields inherited from class com.threerings.tudey.server.logic.Logic
_scenemgr, _variables
 
Constructor Summary
ActionLogic.RotateActor()
           
 
Method Summary
protected  void didInit()
          Override to perform custom initialization.
 boolean execute(int timestamp, Logic activator)
          Executes the action.
 
Methods inherited from class com.threerings.tudey.server.logic.ActionLogic.Targeted
transfer
 
Methods inherited from class com.threerings.tudey.server.logic.ActionLogic
getEntityKey, getRotation, getTranslation, init, isActive, removed, shouldExecute, wasRemoved
 
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, signal
 
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
 

Constructor Detail

ActionLogic.RotateActor

public ActionLogic.RotateActor()
Method Detail

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

didInit

protected void didInit()
Description copied from class: ActionLogic
Override to perform custom initialization.

Overrides:
didInit in class ActionLogic