com.threerings.tudey.tools
Class GlobalEditor.EditableGlobals
java.lang.Object
com.threerings.util.DeepObject
com.threerings.tudey.tools.GlobalEditor.EditableGlobals
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- GlobalEditor
protected static class GlobalEditor.EditableGlobals
- extends DeepObject
- implements Exportable
Allows us to edit the scene's globals.
|
Method Summary |
TudeySceneModel.GlobalEntry |
getGlobal(int id)
Returns the global with the supplied identifier, or null if it couldn't be
found. |
int |
getIndex(int id)
Returns the index of the global with the supplied identifier, or -1 if it
couldn't be found. |
globals
@Editable
public TudeySceneModel.GlobalEntry[] globals
- The array of globals to edit.
GlobalEditor.EditableGlobals
protected GlobalEditor.EditableGlobals()
getGlobal
public TudeySceneModel.GlobalEntry getGlobal(int id)
- Returns the global with the supplied identifier, or
null if it couldn't be
found.
getIndex
public int getIndex(int id)
- Returns the index of the global with the supplied identifier, or
-1 if it
couldn't be found.