#include <class.powerup.hh>
Public Member Functions | |
CPowerUp (CSprite *pSprite, byte type, byte min, byte max) | |
CPowerUp * | CastToPowerUp () |
Cast to powerup class. | |
bool | Interact (CObject *pObj) |
Interact (check if the powerup was picked up). | |
Public Attributes | |
byte | mcType |
byte | mcAmount |
CPowerUp::CPowerUp | ( | CSprite * | pSprite, | |
byte | type, | |||
byte | min, | |||
byte | max | |||
) |
CPowerUp * CPowerUp::CastToPowerUp | ( | ) |
Cast to powerup class.
bool CPowerUp::Interact | ( | CObject * | pObj | ) | [virtual] |
byte CPowerUp::mcType |
byte CPowerUp::mcAmount |