public abstract class Figure
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
abstract void |
draw() |
All Figures know how to draw themselves via override.
|
int |
getID() |
Get the ID of the figure
|
void |
setDrawable(boolean drawable) |
|
void |
setID(int id) |
Set the ID of the figure.
|
protected int _id
protected G3DSys _gsys
public int getID()
public void setID(int id)
id
- the ID to setpublic abstract void draw()
public void setDrawable(boolean drawable)