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

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.Camera
All Implemented Interfaces:
Scope, ScopeUpdateListener
Enclosing class:
GlobalSprite

public static class GlobalSprite.Camera
extends GlobalSprite.Implementation

A camera implementation.


Field Summary
protected  CameraConfig _camcfg
          The added camera, if any.
protected  TudeySceneView _view
          The scene view.
 
Fields inherited from class com.threerings.tudey.client.sprite.GlobalSprite.Implementation
_ctx
 
Fields inherited from class com.threerings.expr.SimpleScope
_parentScope
 
Fields inherited from interface com.threerings.expr.Scope
EPOCH, NOW
 
Constructor Summary
GlobalSprite.Camera(TudeyContext ctx, Scope parentScope, SceneGlobalConfig.Camera config)
          Creates a new environment model implementation.
 
Method Summary
 void dispose()
          Releases the resources associated with this scope.
 void setConfig(SceneGlobalConfig.Camera config)
          (Re)configures the implementation.
 
Methods inherited from class com.threerings.tudey.client.sprite.GlobalSprite.Implementation
getModel, getScopeName
 
Methods inherited from class com.threerings.expr.SimpleScope
addListener, get, getParentScope, removeListener, scopeUpdated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_camcfg

protected CameraConfig _camcfg
The added camera, if any.


_view

@Bound
protected TudeySceneView _view
The scene view.

Constructor Detail

GlobalSprite.Camera

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

Method Detail

setConfig

public void setConfig(SceneGlobalConfig.Camera config)
(Re)configures the implementation.


dispose

public void dispose()
Description copied from class: SimpleScope
Releases the resources associated with this scope.

Overrides:
dispose in class SimpleScope