00001 /* MAINTAINER: Petko */ 00002 #ifndef _BONUSBOX_H 00003 #define _BONUSBOX_H 00004 00005 #include "worldentity.h" 00006 #include "bonus.h" 00007 /*@{ */ 00009 00013 class BonusBox : public WorldEntity 00014 { 00015 public: 00016 BonusBox(); 00017 ~BonusBox(); 00018 00024 bool initSpecific( Bonus * bonus_function ); 00025 00030 Bonus * getBonus() 00031 { 00032 return mBonus; 00033 } 00034 00037 void setNoBonus() 00038 { 00039 mBonus = 0; 00040 } 00041 00042 private: 00043 Bonus * mBonus; 00044 00045 }; 00046 00048 #endif // _BONUSBOX_H 00049
1.4.5