com.threerings.tudey.config
Class BehaviorConfig.Wander

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.tudey.config.BehaviorConfig.Implementation
          extended by com.threerings.tudey.config.BehaviorConfig.Original
              extended by com.threerings.tudey.config.BehaviorConfig.Evaluating
                  extended by com.threerings.tudey.config.BehaviorConfig.Wander
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
BehaviorConfig

public static class BehaviorConfig.Wander
extends BehaviorConfig.Evaluating

Wanders around randomly.


Field Summary
 FloatVariable directionChange
          The variable that determines how we change directions.
 FloatVariable postRotationPause
          The amount of time to pause after rotating.
 FloatVariable preRotationPause
          The amount of time to pause before rotating.
 float radius
          The radius from the origin within which we may wander.
 
Fields inherited from class com.threerings.tudey.config.BehaviorConfig.Evaluating
evaluationInterval
 
Constructor Summary
BehaviorConfig.Wander()
           
 
Method Summary
 String getLogicClassName()
          Returns the name of the server-side logic class to use for the actor.
 
Methods inherited from class com.threerings.tudey.config.BehaviorConfig.Original
getOriginal
 
Methods inherited from class com.threerings.tudey.config.BehaviorConfig.Implementation
getUpdateReferences, invalidate
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

directionChange

@Editable(min=-180.0,
          max=180.0,
          scale=0.017453292519943295)
public FloatVariable directionChange
The variable that determines how we change directions.


preRotationPause

@Editable(min=0.0,
          step=0.1)
public FloatVariable preRotationPause
The amount of time to pause before rotating.


postRotationPause

@Editable(min=0.0,
          step=0.1)
public FloatVariable postRotationPause
The amount of time to pause after rotating.


radius

@Editable(min=0.0,
          step=0.1)
public float radius
The radius from the origin within which we may wander.

Constructor Detail

BehaviorConfig.Wander

public BehaviorConfig.Wander()
Method Detail

getLogicClassName

public String getLogicClassName()
Description copied from class: BehaviorConfig.Original
Returns the name of the server-side logic class to use for the actor.

Overrides:
getLogicClassName in class BehaviorConfig.Original


Copyright © 2011. All Rights Reserved.