| Modifier and Type | Field and Description |
|---|---|
static int |
SECTION_HEIGHT
The height (in tiles) of a scene section.
|
static int |
SECTION_WIDTH
The width (in tiles) of a scene section.
|
| Constructor and Description |
|---|
StageMisoSceneModel()
Creates a completely uninitialized scene model.
|
| Modifier and Type | Method and Description |
|---|---|
StageMisoSceneModel |
clone()
Creates a clone of this auxiliary model.
|
static StageMisoSceneModel |
getSceneModel(SceneModel model)
Locates and returns the
StageMisoSceneModel among the
auxiliary scene models associated with the supplied scene model. |
com.threerings.miso.data.SparseMisoSceneModel.Section |
getSection(int key)
Returns the section identified by the specified key, or null if no
section exists for that key.
|
int |
getSectionKey(int x,
int y)
Returns the section key for the specified tile coordinate.
|
public static final int SECTION_WIDTH
public static final int SECTION_HEIGHT
public StageMisoSceneModel()
public static StageMisoSceneModel getSceneModel(SceneModel model)
StageMisoSceneModel among the
auxiliary scene models associated with the supplied scene model.
null is returned if no miso scene model could be
found.public int getSectionKey(int x,
int y)
public com.threerings.miso.data.SparseMisoSceneModel.Section getSection(int key)
public StageMisoSceneModel clone()
AuxModelCopyright © 2015. All rights reserved.