* Coins inside boxes are now being counted. (We'll have to decide if we want the...
[supertux.git] / src / object / block.hpp
index c1f78b9..94f87fb 100644 (file)
@@ -63,10 +63,6 @@ public:
 
   void try_open();
 
-protected:
-  virtual void hit(Player& player);
-
-private:
   enum Contents {
     CONTENT_COIN,
     CONTENT_FIREGROW,
@@ -77,6 +73,10 @@ private:
   };
 
   Contents contents;
+protected:
+  virtual void hit(Player& player);
+
+private:
   MovingObject* object;
 };