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, com.threerings.resource.ResourceManager.ModificationObserver, Copyable, Cloneable
public class EffectConfig
- extends ParameterizedConfig
The configuration of an effect.
| Methods inherited from class com.threerings.config.ManagedConfig |
addListener, configUpdated, getConfigManager, getInstance, getInstance, getInstance, getInstance, getName, 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.
Copyright © 2011. All Rights Reserved.