| 5 | { |
| 6 | |
| 7 | void StageStack::push(sp<Stage> newStage) |
| 8 | { |
| 9 | |
| 10 | // Pause any current stage |
| 11 | if (this->current()) |
| 12 | this->current()->pause(); |
| 13 | |
| 14 | this->Stack.push_back(newStage); |
| 15 | newStage->begin(); |
| 16 | } |
| 17 | |
| 18 | sp<Stage> StageStack::pop() |
| 19 | { |
no test coverage detected