#include <map>
#include <string>
-#include "screen/texture.h"
-#include "lispreader.h"
-#include "musicref.h"
-
-class Tile;
-
-/** This type holds meta-information about a level-subset.
- It could be extended to handle manipulation of subsets. */
-class LevelSubset
-{
-public:
- LevelSubset();
- ~LevelSubset();
-
- static void create(const std::string& subset_name);
- void load(const char* subset);
- void save();
-
- std::string get_level_filename(unsigned int i);
-
- std::string name;
- std::string title;
- std::string description;
- Surface* image;
- int levels;
-
-private:
- void parse(lisp_object_t* cursor);
-};
+using namespace SuperTux;
class Sector;
+namespace SuperTux {
+class LispReader;
+}
+
class Level
{
public:
const std::string& get_author() const
{ return author; }
+ /** Flips the level vertically */
+ void do_vertical_flip();
+
void add_sector(Sector* sector);
Sector* get_sector(const std::string& name);