com.threerings.tudey.tools
Class GroundBrush.GroundReference

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.tudey.tools.ConfigTool.EditableReference<GroundConfig>
          extended by com.threerings.tudey.tools.GroundBrush.GroundReference
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
GroundBrush

protected static class GroundBrush.GroundReference
extends ConfigTool.EditableReference<GroundConfig>

Allows us to edit the ground reference.


Field Summary
 ConfigReference<GroundConfig> ground
          The ground reference.
 int height
          The height of the brush.
 int width
          The width of the brush.
 
Constructor Summary
protected GroundBrush.GroundReference()
           
 
Method Summary
 ConfigReference<GroundConfig> getReference()
          Returns a reference to the config reference.
 void setReference(ConfigReference<GroundConfig> ref)
          Sets the config reference.
 
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

ground

@Editable(nullable=true)
public ConfigReference<GroundConfig> ground
The ground reference.


width

@Editable(min=1.0,
          hgroup="d")
public int width
The width of the brush.


height

@Editable(min=1.0,
          hgroup="d")
public int height
The height of the brush.

Constructor Detail

GroundBrush.GroundReference

protected GroundBrush.GroundReference()
Method Detail

getReference

public ConfigReference<GroundConfig> getReference()
Description copied from class: ConfigTool.EditableReference
Returns a reference to the config reference.

Specified by:
getReference in class ConfigTool.EditableReference<GroundConfig>

setReference

public void setReference(ConfigReference<GroundConfig> ref)
Description copied from class: ConfigTool.EditableReference
Sets the config reference.

Specified by:
setReference in class ConfigTool.EditableReference<GroundConfig>