com.threerings.tudey.config
Class BehaviorConfig.Follow

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.Follow
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
BehaviorConfig

public static class BehaviorConfig.Follow
extends BehaviorConfig.Evaluating

Follows another actor.


Field Summary
 float maximumDistance
          The maximum distance to maintain.
 float minimumDistance
          The minimum distance to maintain from the target.
 TargetConfig target
          The target to follow.
 
Fields inherited from class com.threerings.tudey.config.BehaviorConfig.Evaluating
evaluationInterval
 
Constructor Summary
BehaviorConfig.Follow()
           
 
Method Summary
 String getLogicClassName()
          Returns the name of the server-side logic class to use for the actor.
 void invalidate()
          Invalidates any cached data.
 
Methods inherited from class com.threerings.tudey.config.BehaviorConfig.Original
getOriginal
 
Methods inherited from class com.threerings.tudey.config.BehaviorConfig.Implementation
getUpdateReferences
 
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

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.

Constructor Detail

BehaviorConfig.Follow

public BehaviorConfig.Follow()
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

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.