Add methods to set and reset scene options. The map returned by
Scene::options() is now const.
diff --git a/src/scene.h b/src/scene.h
index 6ea672b..f4277c3 100644
--- a/src/scene.h
+++ b/src/scene.h
@@ -64,7 +64,9 @@
bool is_running();
const string &name() { return mName; }
- map<string, Option> &options() { return mOptions; }
+ bool set_option(const string &opt, const string &val);
+ void reset_options();
+ const map<string, Option> &options() { return mOptions; }
protected:
Scene(Screen &pScreen, const string &name);