Scene change support

This commit is contained in:
2023-06-30 07:33:22 -07:00
parent ee7963fb1a
commit af3b0751f7
24 changed files with 163 additions and 20 deletions

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;
}