Scene change support

This commit is contained in:
YourWishes committed 2023-06-30 07:33:22 -07:00
1 parent 282d999603
commit 29048234a7
32 files changed
+236 -135

No files matched your search

+7
View File
@@ -33,6 +33,13 @@ int32_t DawnGame::update(float_t delta) {
this->renderManager.update();
if(this->sceneToCutTo != nullptr) {
delete this->scene;
this->scene = nullptr;
this->scene = this->sceneToCutTo;
this->sceneToCutTo = nullptr;
}
return DAWN_GAME_UPDATE_RESULT_SUCCESS;
}