|
@@ -37,6 +37,9 @@ namespace oxygine
|
|
|
//fired before entering to scene
|
|
//fired before entering to scene
|
|
|
EVENT_PRE_ENTERING = makefourcc('S', 'P', 'E', 'n'),
|
|
EVENT_PRE_ENTERING = makefourcc('S', 'P', 'E', 'n'),
|
|
|
|
|
|
|
|
|
|
+ //fired after entering to scene
|
|
|
|
|
+ EVENT_POST_ENTERING = makefourcc('S', 'P', 'S', 'E'),
|
|
|
|
|
+
|
|
|
//fired before leaving scene
|
|
//fired before leaving scene
|
|
|
EVENT_PRE_LEAVING = makefourcc('S', 'P', 'r', 'L'),
|
|
EVENT_PRE_LEAVING = makefourcc('S', 'P', 'r', 'L'),
|
|
|
|
|
|
|
@@ -131,6 +134,9 @@ namespace oxygine
|
|
|
spActor _holder;
|
|
spActor _holder;
|
|
|
bool _inloop;
|
|
bool _inloop;
|
|
|
|
|
|
|
|
|
|
+ void _flowPreLeaving();
|
|
|
|
|
+ void _flowPostLeaving();
|
|
|
|
|
+
|
|
|
private:
|
|
private:
|
|
|
|
|
|
|
|
spTransition _transitionIn;
|
|
spTransition _transitionIn;
|
|
@@ -145,6 +151,7 @@ namespace oxygine
|
|
|
void preHiding();
|
|
void preHiding();
|
|
|
void postHiding();
|
|
void postHiding();
|
|
|
void preEntering();
|
|
void preEntering();
|
|
|
|
|
+ void postEntering();
|
|
|
void preLeaving();
|
|
void preLeaving();
|
|
|
void postLeaving();
|
|
void postLeaving();
|
|
|
|
|
|