bonusbox.h

Go to the documentation of this file.
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 

Generated on Wed Apr 12 13:55:27 2006 for bjs by  doxygen 1.4.5