#include <bouncy.h>
Inheritance diagram for Bouncy:
Public Member Functions | |
virtual void | OnCollide (const Sprite *spr, ColType index) |
Overloaded collision operator, handles elastic collisions. | |
Bouncy () | |
Default constructor. Sets random position and direction. | |
virtual void | Update (Sint32 dtick) |
Overloaded movement handler. Bounces off edges of screen! | |
Protected Member Functions | |
Sfxp | XMin () const |
Returns minimum X position value. | |
Sfxp | YMin () const |
Returns minimum Y position value. | |
Sfxp | XMax () const |
Returne maximum X position value. | |
Sfxp | YMax () const |
Returns maximum Y position value. | |
void | AdvanceFrame () |
Does kinda what you think. |
Definition at line 118 of file bouncy.h.