#include <bonus_application.h>
Veřejné metody | |
BonusShield (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 | ~BonusShield () |
Destructor. | |
Statické veřejné metody | |
static const char * | name () |
Jméno bonusu z XML. | |
Chráněné atributy | |
Uint16 | remaining_periods_ |
BonusShield::BonusShield | ( | Player * | player | ) |
Vytvoření.
BonusShield::~BonusShield | ( | ) | [virtual] |
Destructor.
void BonusShield::draw_panel | ( | SDL_Surface * | window, | |
const SDL_Rect & | rect | |||
) | const [virtual] |
bool BonusShield::update | ( | ) | [virtual] |
static const char* BonusShield::name | ( | ) | [inline, static] |
virtual TYPE BonusShield::type | ( | ) | const [inline, virtual] |
Uint16 BonusShield::remaining_periods_ [protected] |