Use std::unique_ptr<> throughout the audio system
[supertux.git] / src / object / bonus_block.hpp
index 3038358..5dd506e 100644 (file)
@@ -1,5 +1,5 @@
 //  SuperTux
-//  Copyright (C) 2009 Ingo Ruhnke <grumbel@gmx.de>
+//  Copyright (C) 2009 Ingo Ruhnke <grumbel@gmail.com>
 //
 //  This program is free software: you can redistribute it and/or modify
 //  it under the terms of the GNU General Public License as published by
@@ -29,6 +29,7 @@ public:
   HitResponse collision(GameObject& other, const CollisionHit& hit);
 
   void try_open(Player *player);
+  void try_drop(Player *player);
 
   enum Contents {
     CONTENT_COIN,
@@ -40,8 +41,8 @@ public:
     CONTENT_SCRIPT,
     CONTENT_LIGHT,
     CONTENT_TRAMPOLINE,
-    CONTENT_PORTTRAMPOLINE,
-    CONTENT_ROCK
+    CONTENT_RAIN,
+    CONTENT_EXPLODE
   };
 
 protected: