|
|||||||||
| 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.ActorConfig
public class ActorConfig
The configuration of an actor.
| Nested Class Summary | |
|---|---|
static class |
ActorConfig.Agent
Implementation for computer-controlled actors. |
static class |
ActorConfig.Derived
A derived implementation. |
static class |
ActorConfig.Implementation
Contains the actual implementation of the actor. |
static class |
ActorConfig.Mobile
Base class for mobile implementations. |
static class |
ActorConfig.Original
Superclass of the original implementations. |
static class |
ActorConfig.Pawn
Implementation for user-controlled actors. |
| Field Summary | |
|---|---|
ActorConfig.Implementation |
implementation
The actual actor 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 | |
|---|---|
ActorConfig()
|
|
| Method Summary | |
|---|---|
protected void |
fireConfigUpdated()
Fires a configuration updated event. |
ActorConfig.Original |
getOriginal(ConfigManager cfgmgr)
Returns a reference to the config's underlying original implementation. |
ActorSprite.Implementation |
getSpriteImplementation(TudeyContext ctx,
Scope scope,
ActorSprite.Implementation impl)
Creates or updates a sprite implementation for this configuration. |
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 ActorConfig.Implementation implementation
| Constructor Detail |
|---|
public ActorConfig()
| Method Detail |
|---|
public ActorConfig.Original getOriginal(ConfigManager cfgmgr)
public ActorSprite.Implementation getSpriteImplementation(TudeyContext ctx,
Scope scope,
ActorSprite.Implementation impl)
scope - the actor's expression scope.impl - an existing implementation to reuse, if possible.
null if no implementation could be created.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 | ||||||||