unbboolean.gui.save
Class SaveBoxSolid

java.lang.Object
  |
  +--unbboolean.gui.save.SaveSolid
        |
        +--unbboolean.gui.save.SavePrimitiveSolid
              |
              +--unbboolean.gui.save.SaveBoxSolid
All Implemented Interfaces:
java.io.Serializable

public class SaveBoxSolid
extends SavePrimitiveSolid

Class representing a box solid to be saved

Author:
Danilo Balby Silva Castanheira(danbalby@yahoo.com)
See Also:
Serialized Form

Constructor Summary
SaveBoxSolid(BoxSolid solid)
          Constructs a SaveBoxSolid object based on a BoxSolid object
 
Method Summary
 CSGSolid getSolid()
          Gets the solid corresponding to this save solid
 
Methods inherited from class unbboolean.gui.save.SaveSolid
getSaveSolid
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveBoxSolid

public SaveBoxSolid(BoxSolid solid)
Constructs a SaveBoxSolid object based on a BoxSolid object

Parameters:
solid - box solid to be saved
Method Detail

getSolid

public CSGSolid getSolid()
Gets the solid corresponding to this save solid

Specified by:
getSolid in class SaveSolid
Returns:
the solid corresponding to this save solid