|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.config.ManagedConfig
com.threerings.config.ParameterizedConfig
com.threerings.tudey.config.BehaviorConfig
@Strippable public class BehaviorConfig
Configurations for agent behavior.
| Nested Class Summary | |
|---|---|
static class |
BehaviorConfig.Combined
A combined behavior. |
static class |
BehaviorConfig.Derived
A derived implementation. |
static class |
BehaviorConfig.Evaluating
Base class for behaviors that require periodic (re)evaluation. |
static class |
BehaviorConfig.Follow
Follows another actor. |
static class |
BehaviorConfig.Implementation
Contains the actual implementation of the behavior. |
static class |
BehaviorConfig.Original
Superclass of the original implementations. |
static class |
BehaviorConfig.Patrol
Patrols a path, area, etc. |
static class |
BehaviorConfig.Random
Chooses a sub-behavior randomly according to their weights for each evaluation. |
static class |
BehaviorConfig.Scripted
A behavior that has a set of scripted actions. |
static class |
BehaviorConfig.Wander
Wanders around randomly. |
static class |
BehaviorConfig.WeightedBehavior
Combines a behavior with its weight. |
| Field Summary | |
|---|---|
BehaviorConfig.Implementation |
implementation
The actual behavior implementation. |
| Fields inherited from class com.threerings.config.ParameterizedConfig |
|---|
_args, _base, _derived, parameters |
| Fields inherited from class com.threerings.config.ManagedConfig |
|---|
_cfgmgr, _listeners, _name, _updateConfigs, _updateResources |
| Constructor Summary | |
|---|---|
BehaviorConfig()
|
|
| Method Summary | |
|---|---|
protected void |
fireConfigUpdated()
Fires a configuration updated event. |
BehaviorConfig.Original |
getOriginal(ConfigManager cfgmgr)
Returns a reference to the config's underlying original implementation. |
protected void |
getUpdateReferences(ConfigReferenceSet refs)
Collects all of the references within this config to configs that, when updated, should trigger a call to ManagedConfig.fireConfigUpdated(). |
| Methods inherited from class com.threerings.config.ParameterizedConfig |
|---|
applyArguments, applyArguments, getBound, getInstance, getParameter, getParameter, getReference, maybeFireOnConfigManager, validateOuters, validateReferences, wasUpdated |
| Methods inherited from class com.threerings.config.ManagedConfig |
|---|
addListener, addUpdateDependencies, clearUpdateDependencies, configUpdated, getConfigManager, getInstance, getInstance, getInstance, getInstance, getName, getUpdateResources, init, removeListener, resourceModified, setName, updateFromSource |
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy, copy, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
@Editable public BehaviorConfig.Implementation implementation
| Constructor Detail |
|---|
public BehaviorConfig()
| Method Detail |
|---|
public BehaviorConfig.Original getOriginal(ConfigManager cfgmgr)
protected void fireConfigUpdated()
ManagedConfig
fireConfigUpdated in class ManagedConfigprotected void getUpdateReferences(ConfigReferenceSet refs)
ManagedConfigManagedConfig.fireConfigUpdated().
getUpdateReferences in class ManagedConfig
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||