Sprite Interface Reference
Inheritance diagram for Sprite:
Public Member Functions | |
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. |
Member Function Documentation
void draw | ( | Graphics | g | ) |
int kill | ( | ) |
Disables this sprite's draw method.
Performs any necessary clean up and displays any effects that need to appear upon this object's death. Some sprites may be worth points when they are killed. If this is the case, kill will return those points as an integer.
- Returns:
- number of points this sprite is worth, if any.
void update | ( | ) |
The documentation for this interface was generated from the following file:
- /Users/dev/Documents/SVN brazos.cs.tcu.edu/trunk/FROG/src/frog/demo/Sprite.java