public class StageSceneModel extends SceneModel
| Modifier and Type | Field and Description |
|---|---|
com.threerings.util.StreamableHashMap<Integer,Integer> |
defaultColors
If non-null, contains default colorizations to use for objects
that do not have colorizations defined.
|
String |
type
This scene's type which is a string identifier used to later
construct a specific controller to handle this scene.
|
static String |
WORLD
A scene type code.
|
int |
zoneId
The zone id to which this scene belongs.
|
auxModels, name, sceneId, version| Constructor and Description |
|---|
StageSceneModel() |
| Modifier and Type | Method and Description |
|---|---|
static StageSceneModel |
blankStageSceneModel()
Creates and returns a blank scene model.
|
int |
getDefaultColor(int classId)
Get the default color to use for the specified colorization
classId, or -1 if no default is set for that colorization.
|
void |
setDefaultColor(int classId,
int colorId)
Set the default colorId to use for a specified colorization
classId, or -1 to clear the default for that colorization.
|
addAuxModel, blankSceneModel, clonepublic static final String WORLD
public String type
public int zoneId
public int getDefaultColor(int classId)
public void setDefaultColor(int classId,
int colorId)
public static StageSceneModel blankStageSceneModel()
Copyright © 2015. All rights reserved.