converted player to new object system
[supertux.git] / src / level.h
index 3b08ec7..8e70354 100644 (file)
@@ -26,6 +26,7 @@
 #include "badguy.h"
 #include "lispreader.h"
 #include "musicref.h"
+#include "gameobjs.h"
 
 class Tile;
 
@@ -97,6 +98,7 @@ class Level
   float hor_autoscroll_speed;
 
   std::vector<BadGuyData> badguy_data;
+  std::vector< ObjectData<TrampolineData> > trampoline_data;
 
   /** A collection of points to which Tux can be reset after a lost live */
   std::vector<ResetPoint> reset_points;
@@ -136,6 +138,9 @@ class Level
   void change_width (int new_width);
   void change_height (int new_height);
 
+  /* Draw background */
+  void draw_bg();
+
   /** Return the id of the tile at position x/y */
   unsigned int gettileid(float x, float y) const;
   /** returns the id of the tile at position x,y