com.threerings.tudey.server.logic
Class BehaviorLogic.Pathing

java.lang.Object
  extended by com.threerings.util.ShallowObject
      extended by com.threerings.tudey.server.logic.Logic
          extended by com.threerings.tudey.server.logic.BehaviorLogic
              extended by com.threerings.tudey.server.logic.BehaviorLogic.Evaluating
                  extended by com.threerings.tudey.server.logic.BehaviorLogic.Pathing
Direct Known Subclasses:
BehaviorLogic.Follow, BehaviorLogic.Patrol
Enclosing class:
BehaviorLogic

public abstract static class BehaviorLogic.Pathing
extends BehaviorLogic.Evaluating

Base class for behaviors that involve following paths.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.tudey.server.logic.BehaviorLogic
BehaviorLogic.Combined, BehaviorLogic.Evaluating, BehaviorLogic.Follow, BehaviorLogic.Idle, BehaviorLogic.Pathing, BehaviorLogic.Patrol, BehaviorLogic.Random, BehaviorLogic.Scripted, BehaviorLogic.Wander
 
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.BehaviorLogic
MAX_FOLLOW_PATH_LENGTH
 
Constructor Summary
BehaviorLogic.Pathing()
           
 
Method Summary
 void tick(int timestamp)
          Ticks the behavior.
 void transfer(Logic source, Map<Object,Object> refs)
          Transfers state from the specified source logic.
 
Methods inherited from class com.threerings.tudey.server.logic.BehaviorLogic.Evaluating
startup
 
Methods inherited from class com.threerings.tudey.server.logic.BehaviorLogic
getCurrentTarget, getEntityKey, getRotation, getTranslation, init, isActive, penetratedEnvironment, reachedTargetRotation, shutdown
 
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

BehaviorLogic.Pathing

public BehaviorLogic.Pathing()
Method Detail

tick

public void tick(int timestamp)
Description copied from class: BehaviorLogic
Ticks the behavior.

Overrides:
tick in class BehaviorLogic.Evaluating

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 BehaviorLogic.Evaluating


Copyright © 2011. All Rights Reserved.