public class Box extends Figure
Modifier and Type | Field | Description |
---|---|---|
protected short |
_c |
Modifier and Type | Method | Description |
---|---|---|
void |
draw() |
All Figures know how to draw themselves via override.
|
short |
getColor() |
|
float |
getD() |
|
void |
setColor(short c) |
set the color of the figure
|
getID, setDrawable, setID
public Box(G3DSys g, short c)
public void draw()
Figure
public float getD()
public short getColor()
public void setColor(short c)