com.threerings.tudey.config
Class ActorConfig
java.lang.Object
com.threerings.util.DeepObject
com.threerings.config.ManagedConfig
com.threerings.config.ParameterizedConfig
com.threerings.tudey.config.ActorConfig
- All Implemented Interfaces:
- ConfigUpdateListener<ManagedConfig>, Exportable, com.threerings.resource.ResourceManager.ModificationObserver, Copyable, Cloneable
public class ActorConfig
- extends ParameterizedConfig
The configuration of an actor.
| Methods inherited from class com.threerings.config.ManagedConfig |
addListener, configUpdated, getConfigManager, getInstance, getInstance, getInstance, getInstance, getName, init, removeListener, resourceModified, setName, updateFromSource |
implementation
@Editable
public ActorConfig.Implementation implementation
- The actual actor implementation.
ActorConfig
public ActorConfig()
getOriginal
public ActorConfig.Original getOriginal(ConfigManager cfgmgr)
- Returns a reference to the config's underlying original implementation.
getSpriteImplementation
public ActorSprite.Implementation getSpriteImplementation(TudeyContext ctx,
Scope scope,
ActorSprite.Implementation impl)
- Creates or updates a sprite implementation for this configuration.
- Parameters:
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.