com.threerings.tudey.client.sprite
Class GlobalSprite.EnvironmentModel
java.lang.Object
com.threerings.expr.SimpleScope
com.threerings.tudey.client.sprite.GlobalSprite.Implementation
com.threerings.tudey.client.sprite.GlobalSprite.EnvironmentModel
- All Implemented Interfaces:
- Scope, ScopeUpdateListener
- Enclosing class:
- GlobalSprite
public static class GlobalSprite.EnvironmentModel
- extends GlobalSprite.Implementation
An environment model implementation.
| Fields inherited from interface com.threerings.expr.Scope |
EPOCH, NOW |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_model
protected Model _model
- The model.
_scene
@Bound
protected Scene _scene
- The scene to which we add our model.
GlobalSprite.EnvironmentModel
public GlobalSprite.EnvironmentModel(TudeyContext ctx,
Scope parentScope,
SceneGlobalConfig.EnvironmentModel config)
- Creates a new environment model implementation.
setConfig
public void setConfig(SceneGlobalConfig.EnvironmentModel config)
- (Re)configures the implementation.
getModel
public Model getModel()
- Description copied from class:
GlobalSprite.Implementation
- Returns the model for this implementation, or
null for none.
- Overrides:
getModel in class GlobalSprite.Implementation
dispose
public void dispose()
- Description copied from class:
SimpleScope
- Releases the resources associated with this scope.
- Overrides:
dispose in class SimpleScope