com.threerings.tudey.config
Class SceneGlobalConfig.Camera
java.lang.Object
com.threerings.util.DeepObject
com.threerings.tudey.config.SceneGlobalConfig.Implementation
com.threerings.tudey.config.SceneGlobalConfig.Original
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.
camera
@Editable
public CameraConfig camera
- The camera config.
SceneGlobalConfig.Camera
public SceneGlobalConfig.Camera()
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.