#include <bonusbox.h>
Inherits WorldEntity.
Inheritance diagram for BonusBox:


Public Member Functions | |
| BonusBox () | |
| ~BonusBox () | |
| bool | initSpecific (Bonus *bonus_function) |
| Makes class-specific initialization - binds object and its bonus. | |
| Bonus * | getBonus () |
| Returns mBonus. | |
| void | setNoBonus () |
| Resets the mBonus field to NULL, indicating there's no Bonus. | |
Private Attributes | |
| Bonus * | mBonus |
| bonus represented | |
Definition at line 13 of file bonusbox.h.
|
|
Definition at line 5 of file bonusbox.cpp. References cBonusBox, and CommonEntity::mType. |
|
|
Definition at line 10 of file bonusbox.cpp. |
|
|
Returns mBonus.
Definition at line 30 of file bonusbox.h. References mBonus. |
|
|
Makes class-specific initialization - binds object and its bonus.
Definition at line 15 of file bonusbox.cpp. References mBonus. Referenced by World::createBonusBox(). |
|
|
Resets the mBonus field to NULL, indicating there's no Bonus.
Definition at line 37 of file bonusbox.h. References mBonus. |
|
|
bonus represented
Definition at line 43 of file bonusbox.h. Referenced by getBonus(), initSpecific(), and setNoBonus(). |
1.4.5