about to add SDL and probably break everything

This commit is contained in:
2023-01-16 10:01:06 -08:00
parent 18d3b074f9
commit 7585891276
53 changed files with 891 additions and 132 deletions

View File

@ -39,6 +39,6 @@ void ExampleSpin::onUnpausedUpdate() {
this->transform->setLocalRotation(quat);
}
ExampleSpin::~ExampleSpin() {
void ExampleSpin::onDispose() {
getScene()->eventSceneUnpausedUpdate.removeListener(this, &ExampleSpin::onUnpausedUpdate);
}

View File

@ -14,6 +14,6 @@ namespace Dawn {
ExampleSpin(SceneItem *item);
void onUnpausedUpdate();
~ExampleSpin();
void onDispose() override;
};
}