com.threerings.tudey.server.logic
Class ScriptLogic.Condition

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

public static class ScriptLogic.Condition
extends ScriptLogic

Handles the condition script.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.tudey.server.logic.ScriptLogic
ScriptLogic.Condition, ScriptLogic.Goto, ScriptLogic.Move, ScriptLogic.Rotate, ScriptLogic.Wait
 
Nested classes/interfaces inherited from class com.threerings.tudey.server.logic.Logic
Logic.ShapeObserver
 
Constructor Summary
ScriptLogic.Condition()
           
 
Method Summary
 void start(int timestamp)
          Called when we are about to start the current script.
 boolean tick(int timestamp)
          Ticks the script.
 void transfer(Logic source, Map<Object,Object> refs)
          Transfers state from the specified source logic.
 
Methods inherited from class com.threerings.tudey.server.logic.ScriptLogic
createScriptLogic, init, reachedTargetRotation
 
Methods inherited from class com.threerings.tudey.server.logic.Logic
addShapeObserver, getEntityKey, getModel, getPatrolPath, getRotation, getSceneManager, getShape, getTags, getTransform, getTransform, getTranslation, getVariable, init, isActive, 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

ScriptLogic.Condition

public ScriptLogic.Condition()
Method Detail

start

public void start(int timestamp)
Description copied from class: ScriptLogic
Called when we are about to start the current script.

Overrides:
start in class ScriptLogic

tick

public boolean tick(int timestamp)
Description copied from class: ScriptLogic
Ticks the script.

Overrides:
tick in class ScriptLogic
Returns:
true if the script has completed

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.