com.threerings.tudey.config
Class EffectConfig
java.lang.Object
com.threerings.util.DeepObject
com.threerings.config.ManagedConfig
com.threerings.config.ParameterizedConfig
com.threerings.tudey.config.EffectConfig
- All Implemented Interfaces:
- ConfigUpdateListener<ManagedConfig>, Exportable, ResourceManager.ModificationObserver, Copyable, Cloneable
public class EffectConfig
- extends ParameterizedConfig
The configuration of an effect.
| 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 |
implementation
@Editable
public EffectConfig.Implementation implementation
- The actual effect implementation.
EffectConfig
public EffectConfig()
getOriginal
public EffectConfig.Original getOriginal(ConfigManager cfgmgr)
- Returns a reference to the config's underlying original implementation.
createSpriteImplementation
public EffectSprite.Implementation createSpriteImplementation(TudeyContext ctx,
Scope scope,
Effect effect)
- Creates a sprite implementation for this configuration.
- Parameters:
scope - the effect's expression scope.
- Returns:
- the created implementation, or
null if no implementation could be
created.
fireConfigUpdated
protected void fireConfigUpdated()
- Description copied from class:
ManagedConfig
- Fires a configuration updated event.
- Overrides:
fireConfigUpdated in class ManagedConfig
getUpdateReferences
protected void getUpdateReferences(ConfigReferenceSet refs)
- Description copied from class:
ManagedConfig
- Collects all of the references within this config to configs that, when updated, should
trigger a call to
ManagedConfig.fireConfigUpdated().
- Overrides:
getUpdateReferences in class ManagedConfig