Tux can peek to the left and to the right as far as the camera would move in best...
[supertux.git] / src / object / block.hpp
index ac7bdd2..07b37cb 100644 (file)
@@ -37,6 +37,8 @@ public:
   virtual void draw(DrawingContext& context);
 
 protected:
+  friend class FlipLevelTransformer;
+
   virtual void hit(Player& player) = 0;
   void start_bounce();
 
@@ -45,6 +47,7 @@ protected:
   float bounce_dir;
   float bounce_offset;
   float original_y;
+
 };
 
 class BonusBlock : public Block