com.threerings.tudey.config
Class BehaviorConfig.Implementation

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

@EditorTypes(value={BehaviorConfig.Original.class,BehaviorConfig.Derived.class,BehaviorConfig.Wander.class,BehaviorConfig.Patrol.class,BehaviorConfig.Follow.class,BehaviorConfig.Random.class,BehaviorConfig.Scripted.class,BehaviorConfig.Combined.class})
public abstract static class BehaviorConfig.Implementation
extends DeepObject
implements Exportable

Contains the actual implementation of the behavior.


Constructor Summary
BehaviorConfig.Implementation()
           
 
Method Summary
abstract  BehaviorConfig.Original getOriginal(ConfigManager cfgmgr)
          Returns a reference to the config's underlying original implementation.
 void getUpdateReferences(ConfigReferenceSet refs)
          Adds the implementation's update references to the provided set.
 void invalidate()
          Invalidates any cached data.
 
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
 

Constructor Detail

BehaviorConfig.Implementation

public BehaviorConfig.Implementation()
Method Detail

getUpdateReferences

public void getUpdateReferences(ConfigReferenceSet refs)
Adds the implementation's update references to the provided set.


getOriginal

public abstract BehaviorConfig.Original getOriginal(ConfigManager cfgmgr)
Returns a reference to the config's underlying original implementation.


invalidate

public void invalidate()
Invalidates any cached data.



Copyright © 2011. All Rights Reserved.