@@ -339,5 +339,10 @@ namespace oxygine
f->show(s, cb);
}
+
+ Flow & get()
+ {
+ return Flow::instance;
+ }
@@ -27,7 +27,7 @@ namespace oxygine
/**shows next scene and call callback when it was finished*/
void show(spScene, const resultCallback& cb = doNothingEventCallback, Flow* = 0);
-
+ Flow &get();
class Flow