Moved some sprites from LAYER_OBJECTS to LAYER_FLOATINGOBJECTS
[supertux.git] / src / badguy / badguy.hpp
index eb0d0cc..8cbfb18 100644 (file)
@@ -154,6 +154,13 @@ protected:
   Vector start_position;
 
   Direction dir;
+
+  /**
+   * z-position at which to draw the sprite.
+   * e.g. LAYER_OBJECTS, LAYER_OBJECTS - 1, LAYER_FLOATINGOBJECTS
+   */
+  int layer;
+
 private:
   void try_activate();