|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Sprite
| Method Summary | |
|---|---|
void |
draw(Graphics g)
Draws this sprite to the given Graphics context. |
int |
kill()
Disables this sprite's draw method. |
void |
update()
Causes this sprite update its current state. |
| Method Detail |
|---|
void draw(Graphics g)
g - the Graphics context this sprite should draw itself to.int kill()
void update()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||