com.threerings.tudey.tools
Class GlobalEditor.EditableGlobals

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by 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.


Field Summary
 TudeySceneModel.GlobalEntry[] globals
          The array of globals to edit.
 
Constructor Summary
protected GlobalEditor.EditableGlobals()
           
 
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.
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

globals

@Editable
public TudeySceneModel.GlobalEntry[] globals
The array of globals to edit.

Constructor Detail

GlobalEditor.EditableGlobals

protected GlobalEditor.EditableGlobals()
Method Detail

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.