-};
-
-class BonusBlock : public Block
-{
-public:
- BonusBlock(const Vector& pos, int data);
- BonusBlock(const lisp::Lisp& lisp);
- virtual ~BonusBlock();
- HitResponse collision(GameObject& other, const CollisionHit& hit);
-
- void try_open();
-
- enum Contents {
- CONTENT_COIN,
- CONTENT_FIREGROW,
- CONTENT_ICEGROW,
- CONTENT_STAR,
- CONTENT_1UP,
- CONTENT_CUSTOM
- };
-
- Contents contents;
-protected:
- virtual void hit(Player& player);
-