com.threerings.tudey.tools
Class WallBrush.WallReference

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

protected static class WallBrush.WallReference
extends ConfigTool.EditableReference<WallConfig>

Allows us to edit the wall reference.


Field Summary
 int height
          The height of the brush.
 ConfigReference<WallConfig> wall
          The wall reference.
 int width
          The width of the brush.
 
Constructor Summary
protected WallBrush.WallReference()
           
 
Method Summary
 ConfigReference<WallConfig> getReference()
          Returns a reference to the config reference.
 void setReference(ConfigReference<WallConfig> 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

wall

@Editable(nullable=true)
public ConfigReference<WallConfig> wall
The wall 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

WallBrush.WallReference

protected WallBrush.WallReference()
Method Detail

getReference

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

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

setReference

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

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