|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectapps.lightrays.gfxlib.DrawableElement
public abstract class DrawableElement
The Class DrawableElement.
| Constructor Summary | |
|---|---|
DrawableElement()
Instantiates a new drawable element. |
|
| Method Summary | |
|---|---|
abstract void |
draw(java.awt.Graphics2D gfx,
long tick_count)
Draw. |
java.awt.Color |
getC()
Gets the c. |
float |
getOpacity()
* GETTERS AND SETTERS ***. |
int |
getX()
Gets the x. |
int |
getY()
Gets the y. |
int |
getZ()
Gets the z. |
void |
setC(java.awt.Color colour)
Sets the c. |
void |
setOpacity(float opacity)
Sets the opacity. |
void |
setX(int x)
Sets the x. |
void |
setY(int y)
Sets the y. |
void |
setZ(int z)
Sets the z. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DrawableElement()
| Method Detail |
|---|
public abstract void draw(java.awt.Graphics2D gfx,
long tick_count)
gfx - the gfxtick_count - the tick_countpublic java.awt.Color getC()
public float getOpacity()
public int getX()
public int getY()
public int getZ()
public void setC(java.awt.Color colour)
colour - the new cpublic void setOpacity(float opacity)
opacity - the new opacitypublic void setX(int x)
x - the new xpublic void setY(int y)
y - the new ypublic void setZ(int z)
z - the new z
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||