com.threerings.tudey.config
Class SceneGlobalConfig.Derived
java.lang.Object
com.threerings.util.DeepObject
com.threerings.tudey.config.SceneGlobalConfig.Implementation
com.threerings.tudey.config.SceneGlobalConfig.Derived
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- SceneGlobalConfig
public static class SceneGlobalConfig.Derived
- extends SceneGlobalConfig.Implementation
A derived implementation.
sceneGlobal
@Editable(nullable=true)
public ConfigReference<SceneGlobalConfig> sceneGlobal
- The global reference.
SceneGlobalConfig.Derived
public SceneGlobalConfig.Derived()
getUpdateReferences
public void getUpdateReferences(ConfigReferenceSet refs)
- Description copied from class:
SceneGlobalConfig.Implementation
- Adds the implementation's update references to the provided set.
- Overrides:
getUpdateReferences in class SceneGlobalConfig.Implementation
getOriginal
public SceneGlobalConfig.Original getOriginal(ConfigManager cfgmgr)
- Description copied from class:
SceneGlobalConfig.Implementation
- Returns a reference to the config's underlying original implementation.
- Specified by:
getOriginal in class SceneGlobalConfig.Implementation
getSpriteImplementation
public GlobalSprite.Implementation getSpriteImplementation(TudeyContext ctx,
Scope scope,
GlobalSprite.Implementation impl)
- Description copied from class:
SceneGlobalConfig.Implementation
- Creates or updates a sprite implementation for this configuration.
- Specified by:
getSpriteImplementation in class SceneGlobalConfig.Implementation
scope - the global's expression scope.impl - an existing implementation to reuse, if possible.
- Returns:
- either a reference to the existing implementation (if reused), a new
implementation, or
null if no implementation could be created.
Copyright © 2011. All Rights Reserved.