-#ifndef __BOX_H__
-#define __BOX_H__
+#ifndef __BLOCK_H__
+#define __BLOCK_H__
#include "special/moving_object.h"
public:
BonusBlock(const Vector& pos, int data);
+ void try_open();
+
protected:
virtual void hit(Player& player);
public:
Brick(const Vector& pos, int data);
+ void try_break(bool playerhit = false);
+
protected:
virtual void hit(Player& player);