BonusBlock(const Vector& pos, int data);
BonusBlock(const lisp::Lisp& lisp);
virtual ~BonusBlock();
+ HitResponse collision(GameObject& other, const CollisionHit& hit);
void try_open();
Brick(const Vector& pos, int data);
void try_break(bool playerhit = false);
+ HitResponse collision(GameObject& other, const CollisionHit& hit);
protected:
virtual void hit(Player& player);
};
#endif
-