|
|||||||
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 | +--com.wistrand.midlet.valentine.StarSprite
Fields inherited from class com.wistrand.midlet.sprite.Sprite |
col, dx, dy, id, idCount, parent, px, py, rot, size, x, y |
Constructor Summary | |
StarSprite(SpriteHandler handler)
|
Method Summary | |
int[] |
getPoints()
Get the (x,y) points describing the sprite outline. |
void |
update()
Update position by adding speed to current pos. |
Methods inherited from class com.wistrand.midlet.sprite.PolySprite |
paint |
Methods inherited from class com.wistrand.midlet.sprite.Sprite |
moveTo, setColor, setParent, setSpeed, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public StarSprite(SpriteHandler handler)
Method Detail |
public void update()
Sprite
update
in class Sprite
public int[] getPoints()
PolySprite
getPoints
in class PolySprite
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |