src/common/game2d/Engine2d.cpp
// Remove all scene and scene groups
Remove all scene and scene groups
Remove all scene and scene groups
void Engine2d::removeAllScenes() {
	scenes.clear();
	for (auto& sceneGroup : sceneGroups) {
		sceneGroup->unloaded();
	}
	sceneGroups.clear();
}
void Engine2d :: removeAllScenes ( ) { scenes . clear ( ) ; for ( auto & sceneGroup : sceneGroups ) { sceneGroup -> unloaded ( ) ; } sceneGroups . clear ( ) ; }
Remove all scene and scene groups
Remove all scene and scene groups