com.threerings.tudey.config
Class SceneGlobalConfig.Camera

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.tudey.config.SceneGlobalConfig.Implementation
          extended by com.threerings.tudey.config.SceneGlobalConfig.Original
              extended by com.threerings.tudey.config.SceneGlobalConfig.Camera
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
SceneGlobalConfig

public static class SceneGlobalConfig.Camera
extends SceneGlobalConfig.Original

A set of camera parameters that override the defaults.


Field Summary
 CameraConfig camera
          The camera config.
 
Fields inherited from class com.threerings.tudey.config.SceneGlobalConfig.Original
handlers, tags
 
Constructor Summary
SceneGlobalConfig.Camera()
           
 
Method Summary
 String getLogicClassName()
          Returns the name of the server-side logic class to use for the global, or null for none.
 GlobalSprite.Implementation getSpriteImplementation(TudeyContext ctx, Scope scope, GlobalSprite.Implementation impl)
          Creates or updates a sprite implementation for this configuration.
 
Methods inherited from class com.threerings.tudey.config.SceneGlobalConfig.Original
getOriginal, getPreloads, invalidate
 
Methods inherited from class com.threerings.tudey.config.SceneGlobalConfig.Implementation
getUpdateReferences
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

camera

@Editable
public CameraConfig camera
The camera config.

Constructor Detail

SceneGlobalConfig.Camera

public SceneGlobalConfig.Camera()
Method Detail

getLogicClassName

public String getLogicClassName()
Description copied from class: SceneGlobalConfig.Original
Returns the name of the server-side logic class to use for the global, or null for none.

Overrides:
getLogicClassName in class SceneGlobalConfig.Original

getSpriteImplementation

public GlobalSprite.Implementation getSpriteImplementation(TudeyContext ctx,
                                                           Scope scope,
                                                           GlobalSprite.Implementation impl)
Description copied from class: SceneGlobalConfig.Implementation
Creates or updates a sprite implementation for this configuration.

Specified by:
getSpriteImplementation in class SceneGlobalConfig.Implementation
scope - the global'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.