com.threerings.tudey.client.sprite
Class GlobalSprite.EnvironmentModel

java.lang.Object
  extended by com.threerings.expr.SimpleScope
      extended by com.threerings.tudey.client.sprite.GlobalSprite.Implementation
          extended by 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.


Field Summary
 
Fields inherited from interface com.threerings.expr.Scope
EPOCH, NOW
 
Constructor Summary
GlobalSprite.EnvironmentModel(TudeyContext ctx, Scope parentScope, SceneGlobalConfig.EnvironmentModel config)
          Creates a new environment model implementation.
 
Method Summary
 void dispose()
          Releases the resources associated with this scope.
 Model getModel()
          Returns the model for this implementation, or null for none.
 void setConfig(SceneGlobalConfig.EnvironmentModel config)
          (Re)configures the implementation.
 
Methods inherited from class com.threerings.tudey.client.sprite.GlobalSprite.Implementation
getScopeName
 
Methods inherited from class com.threerings.expr.SimpleScope
addListener, get, getParentScope, removeListener, scopeUpdated
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalSprite.EnvironmentModel

public GlobalSprite.EnvironmentModel(TudeyContext ctx,
                                     Scope parentScope,
                                     SceneGlobalConfig.EnvironmentModel config)
Creates a new environment model implementation.

Method Detail

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


Copyright © 2011. All Rights Reserved.