about to add SDL and probably break everything
This commit is contained in:
@ -39,6 +39,6 @@ void ExampleSpin::onUnpausedUpdate() {
|
||||
this->transform->setLocalRotation(quat);
|
||||
}
|
||||
|
||||
ExampleSpin::~ExampleSpin() {
|
||||
void ExampleSpin::onDispose() {
|
||||
getScene()->eventSceneUnpausedUpdate.removeListener(this, &ExampleSpin::onUnpausedUpdate);
|
||||
}
|
@ -14,6 +14,6 @@ namespace Dawn {
|
||||
|
||||
ExampleSpin(SceneItem *item);
|
||||
void onUnpausedUpdate();
|
||||
~ExampleSpin();
|
||||
void onDispose() override;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user