summaryrefslogtreecommitdiffstats
path: root/src/Instance.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Instance.h')
-rw-r--r--src/Instance.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Instance.h b/src/Instance.h
index 384abdf..d9c0509 100644
--- a/src/Instance.h
+++ b/src/Instance.h
@@ -38,7 +38,10 @@ class Instance {
public:
virtual ~Instance();
- static bool create();
+ void createLevel();
+ bool loadLevel(const Glib::ustring &file);
+
+ static bool create(const Glib::ustring &file = Glib::ustring());
private:
static guint instances;
@@ -49,7 +52,7 @@ class Instance {
xmlpp::DomParser *levelXml;
Data::Level *level;
- Instance();
+ Instance(const Glib::ustring &file);
void destroy();