#include <cagoody.h>
Public Member Functions | |
| CAGoody (CAGoodyType *goodyType) | |
| void | reset () |
| Reset this goody. | |
| void | display (int offsetX, int offsetY) |
| Displays this goody (if active) on it's current position. | |
| void | move (int x, int y, bool ups) |
| Moves the goody. | |
| void | advance () |
| Removes obsolete goodies. | |
| bool | isActive () |
| Returns true if this goody is active (= curently in use). | |
| void | setActive (bool on) |
| Sets the active status of this goody. | |
| int | getX () |
| Gets the x position of this goody. | |
| int | getY () |
| Gets the y position of this goody. | |
| bool | isUp () |
| Returns wheter this goody is on bridges (true) or below bridges (false). | |
| CAGoodyType * | getType () |
| Returns a pointer to the goody type of the current goody. | |
..)
1.5.0