|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.wistrand.midlet.sprite.Sprite | +--com.wistrand.midlet.sprite.PolySprite
Sprite which uses a point array to draw a polygon.
Fields inherited from class com.wistrand.midlet.sprite.Sprite |
col, dx, dy, id, idCount, parent, px, py, rot, size, x, y |
Constructor Summary | |
PolySprite()
|
Method Summary | |
abstract int[] |
getPoints()
Get the (x,y) points describing the sprite outline. |
void |
paint(javax.microedition.lcdui.Graphics g)
Paint the sprite on a Graphics. |
Methods inherited from class com.wistrand.midlet.sprite.Sprite |
moveTo, setColor, setParent, setSpeed, toString, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PolySprite()
Method Detail |
public abstract int[] getPoints()
public void paint(javax.microedition.lcdui.Graphics g)
Sprite
paint
in class Sprite
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |