com.threerings.tudey.config
Class ActorConfig.Derived
java.lang.Object
com.threerings.util.DeepObject
com.threerings.tudey.config.ActorConfig.Implementation
com.threerings.tudey.config.ActorConfig.Derived
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- ActorConfig
public static class ActorConfig.Derived
- extends ActorConfig.Implementation
A derived implementation.
actor
@Editable(nullable=true)
public ConfigReference<ActorConfig> actor
- The actor reference.
ActorConfig.Derived
public ActorConfig.Derived()
getUpdateReferences
public void getUpdateReferences(ConfigReferenceSet refs)
- Description copied from class:
ActorConfig.Implementation
- Adds the implementation's update references to the provided set.
- Overrides:
getUpdateReferences in class ActorConfig.Implementation
getOriginal
public ActorConfig.Original getOriginal(ConfigManager cfgmgr)
- Description copied from class:
ActorConfig.Implementation
- Returns a reference to the config's underlying original implementation.
- Specified by:
getOriginal in class ActorConfig.Implementation
getSpriteImplementation
public ActorSprite.Implementation getSpriteImplementation(TudeyContext ctx,
Scope scope,
ActorSprite.Implementation impl)
- Description copied from class:
ActorConfig.Implementation
- Creates or updates a sprite implementation for this configuration.
- Specified by:
getSpriteImplementation in class ActorConfig.Implementation
scope - the actor'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.