Add support for extracting the previous scene from the scene stack#2793
Add support for extracting the previous scene from the scene stack#2793halx99 merged 3 commits intoaxmolengine:release/2.xfrom
Conversation
|
API naming: what about |
I was considering something Maybe |
lgtm |
|
@rh101 |
|
Maybe update the comment of the |
As the comment indicates, This new method in this PR, At the moment you can go from current scene to new scene and apply a one of the |
Actually, the comment seems fine: It states exactly what happens:
Is there something about it that is confusing? |
Please have a short look on the other comments too. |
@rh101 |
All comments make sense. Is there something specific about any of the comments that is causing confusion? |
I'm not sure. I'm not a native English speaker. |
A test may not be useful or required for this, since it's a very straightforward function to use; it simply pulls the second-last scene from the list (the 2nd scene in the stack). If anyone feels that a test is required, then I can add one, but it may not be straightforward due to how the |
Thank you for clarifying that. |
|
Sorry I pressed the wrong button |
To avoid wasting resources, I cancelled the new run of the checks that were triggered by closing and re-opening this PR, since it's already completed in: https://github.com/axmolengine/axmol/pull/2793/checks?check_run_id=51005811514 |
Thanks. Sorry again. |
* release/2.x: Fix ios editbox keyboard handling (axmolengine#2795) Add support for extracting the previous scene from the scene stack (axmolengine#2793)
Describe your changes
This PR adds support for extracting the previous scene from the scene stack. This would allow transitions from the current scene to the previous scene, such as:
Issue ticket number and link
Checklist before requesting a review
For each PR
Add Copyright if it missed:
-
"Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md)."I have performed a self-review of my code.
Optional:
For core/new feature PR
Axmol 3.x ------------------------------------------------------------
For each 3.x PR