com.threerings.tudey.config
Class BehaviorConfig.Wander
java.lang.Object
com.threerings.util.DeepObject
com.threerings.tudey.config.BehaviorConfig.Implementation
com.threerings.tudey.config.BehaviorConfig.Original
com.threerings.tudey.config.BehaviorConfig.Evaluating
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.
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.
BehaviorConfig.Wander
public BehaviorConfig.Wander()
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.