com.threerings.tudey.config
Class BehaviorConfig.Patrol

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

public static class BehaviorConfig.Patrol
extends BehaviorConfig.Evaluating

Patrols a path, area, etc.


Field Summary
 float branchRadius
          The radius within which we consider branching nodes (or negative for no branching).
 TargetConfig target
          The target to patrol.
 
Fields inherited from class com.threerings.tudey.config.BehaviorConfig.Evaluating
evaluationInterval
 
Constructor Summary
BehaviorConfig.Patrol()
           
 
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 patrol.


branchRadius

@Editable(min=-1.0,
          step=0.1)
public float branchRadius
The radius within which we consider branching nodes (or negative for no branching).

Constructor Detail

BehaviorConfig.Patrol

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