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

java.lang.Object
  extended by com.threerings.expr.SimpleScope
      extended by com.threerings.tudey.client.sprite.GlobalSprite.Implementation
All Implemented Interfaces:
Scope, ScopeUpdateListener
Direct Known Subclasses:
GlobalSprite.Camera, GlobalSprite.EnvironmentModel
Enclosing class:
GlobalSprite

public abstract static class GlobalSprite.Implementation
extends SimpleScope

The actual sprite implementation.


Field Summary
 
Fields inherited from interface com.threerings.expr.Scope
EPOCH, NOW
 
Constructor Summary
GlobalSprite.Implementation(TudeyContext ctx, Scope parentScope)
          Creates a new implementation.
 
Method Summary
 Model getModel()
          Returns the model for this implementation, or null for none.
 String getScopeName()
          Returns the name of this scope for purposes of qualification.
 
Methods inherited from class com.threerings.expr.SimpleScope
addListener, dispose, get, getParentScope, removeListener, scopeUpdated
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalSprite.Implementation

public GlobalSprite.Implementation(TudeyContext ctx,
                                   Scope parentScope)
Creates a new implementation.

Method Detail

getModel

public Model getModel()
Returns the model for this implementation, or null for none.


getScopeName

public String getScopeName()
Description copied from interface: Scope
Returns the name of this scope for purposes of qualification. Can return null if qualified symbols cannot specifically address this scope.

Specified by:
getScopeName in interface Scope
Overrides:
getScopeName in class SimpleScope


Copyright © 2011. All Rights Reserved.