#include <bonus_application.h>
Veřejné typy | |
enum | ILLNESS_TYPE { CONFUSED, NOBOMB, STOP, SLOW, FAST, BERSERK, LAST_ } |
Veřejné metody | |
BonusIllness (Player *player) | |
Vytvoření. | |
virtual void | draw_panel (SDL_Surface *window, const SDL_Rect &rect) const |
Vykreslení do panelu. | |
virtual bool | update () |
Aktualizace stavu. | |
virtual TYPE | type () const |
Typ bonusu. | |
virtual | ~BonusIllness () |
Destructor. | |
Statické veřejné metody | |
static BonusIllness * | new_illness (Player *player) |
static const char * | name () |
Jméno bonusu z XML. | |
Chráněné atributy | |
Uint16 | remaining_periods_ |
BonusIllness::BonusIllness | ( | Player * | player | ) |
Vytvoření.
virtual BonusIllness::~BonusIllness | ( | ) | [inline, virtual] |
Destructor.
BonusIllness * BonusIllness::new_illness | ( | Player * | player | ) | [static] |
void BonusIllness::draw_panel | ( | SDL_Surface * | window, | |
const SDL_Rect & | rect | |||
) | const [virtual] |
bool BonusIllness::update | ( | ) | [virtual] |
static const char* BonusIllness::name | ( | ) | [inline, static] |
virtual TYPE BonusIllness::type | ( | ) | const [inline, virtual] |
Uint16 BonusIllness::remaining_periods_ [protected] |