com.threerings.tudey.config
Class EffectConfig.Derived

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

public static class EffectConfig.Derived
extends EffectConfig.Implementation

A derived implementation.


Field Summary
 ConfigReference<EffectConfig> effect
          The effect reference.
 
Constructor Summary
EffectConfig.Derived()
           
 
Method Summary
 EffectSprite.Implementation createSpriteImplementation(TudeyContext ctx, Scope scope, Effect effect)
          Creates a sprite implementation for this configuration.
 EffectConfig.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.
 
Methods inherited from class com.threerings.tudey.config.EffectConfig.Implementation
invalidate
 
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
 

Field Detail

effect

@Editable(nullable=true)
public ConfigReference<EffectConfig> effect
The effect reference.

Constructor Detail

EffectConfig.Derived

public EffectConfig.Derived()
Method Detail

getUpdateReferences

public void getUpdateReferences(ConfigReferenceSet refs)
Description copied from class: EffectConfig.Implementation
Adds the implementation's update references to the provided set.

Overrides:
getUpdateReferences in class EffectConfig.Implementation

getOriginal

public EffectConfig.Original getOriginal(ConfigManager cfgmgr)
Description copied from class: EffectConfig.Implementation
Returns a reference to the config's underlying original implementation.

Specified by:
getOriginal in class EffectConfig.Implementation

createSpriteImplementation

public EffectSprite.Implementation createSpriteImplementation(TudeyContext ctx,
                                                              Scope scope,
                                                              Effect effect)
Description copied from class: EffectConfig.Implementation
Creates a sprite implementation for this configuration.

Specified by:
createSpriteImplementation in class EffectConfig.Implementation
scope - the effect's expression scope.
Returns:
the created implementation, or null if no implementation could be created.


Copyright © 2011. All Rights Reserved.