CAGoody Class Reference

A goody (life, turbo, . More...

#include <cagoody.h>

List of all members.

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).
CAGoodyTypegetType ()
 Returns a pointer to the goody type of the current goody.


Detailed Description

A goody (life, turbo, .

..)

Author:
Andrew Mustun


The documentation for this class was generated from the following files:
Generated on Tue Nov 28 06:48:28 2006 by  doxygen 1.5.0