dmuratshin 9 years ago
parent
commit
82165c2f34
2 changed files with 6 additions and 0 deletions
  1. 5 0
      src/flow/Scene.cpp
  2. 1 0
      src/flow/Scene.h

+ 5 - 0
src/flow/Scene.cpp

@@ -255,6 +255,11 @@ namespace oxygine
             _resultCB = EventCallback();
         }
 
+        void Scene::noResult()
+        {
+            _resultCB = EventCallback();
+        }
+
         void Scene::remove()
         {
             LOGD("%-20s '%s'", "remove", getName().c_str());

+ 1 - 0
src/flow/Scene.h

@@ -82,6 +82,7 @@ namespace oxygine
             /*closes current scene**/
             void finish(Event* ev = 0);
             void finishNoResult();
+            void noResult();
 
             /**
             Automatically removes Scene from stack (flow).