com.threerings.tudey.config
Class BehaviorConfig.Follow
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.Follow
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- BehaviorConfig
public static class BehaviorConfig.Follow
- extends BehaviorConfig.Evaluating
Follows another actor.
target
@Editable
public TargetConfig target
- The target to follow.
minimumDistance
@Editable(min=0.0,
step=0.1,
hgroup="d")
public float minimumDistance
- The minimum distance to maintain from the target.
maximumDistance
@Editable(min=0.0,
step=0.1,
hgroup="d")
public float maximumDistance
- The maximum distance to maintain.
BehaviorConfig.Follow
public BehaviorConfig.Follow()
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
invalidate
public void invalidate()
- Description copied from class:
BehaviorConfig.Implementation
- Invalidates any cached data.
- Overrides:
invalidate in class BehaviorConfig.Implementation
Copyright © 2011. All Rights Reserved.