MCPcopy Create free account
hub / github.com/EasyRPG/Player / Pop

Method Pop

src/scene.cpp:280–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278}
279
280void Scene::Pop() {
281 old_instances.push_back(instances.back());
282 instances.pop_back();
283
284 instance = instances.empty() ? nullptr : instances.back();
285
286 push_pop_operation = ScenePopped;
287
288 DEBUG_VALIDATE("Pop");
289}
290
291void Scene::PopUntil(SceneType type) {
292 int count = 0;

Callers 3

vUpdateMethod · 0.45
UpdateButtonAddMethod · 0.45
UpdateButtonRemoveMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected