MCPcopy Create free account
hub / github.com/AbyssEngine/AbyssEngineOld / setScene

Method setScene

src/Abyss/AbyssEngine.cpp:327–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325}
326
327void AbyssEngine::setScene(std::unique_ptr<Common::Scene> scene) {
328 if (_nextScene != nullptr) {
329 Common::Log::warn("Scene already set, replacing...");
330 }
331 _nextScene = std::move(scene);
332}
333
334Common::Configuration &AbyssEngine::getConfiguration() { return _configuration; }
335

Callers 4

mainFunction · 0.80
onExitClickedMethod · 0.80
MainMenuClass · 0.80
onCreditsClickedMethod · 0.80

Calls 1

warnFunction · 0.85

Tested by

no test coverage detected