InputManager finish

This commit is contained in:
2022-10-25 20:55:05 -07:00
parent d7e09dfc49
commit 57b3354d4c
11 changed files with 254 additions and 3 deletions

View File

@ -15,7 +15,8 @@ float_t fs = 1.0f;
DawnGame::DawnGame(DawnHost &host) :
host(host),
renderManager(*this)
renderManager(*this),
inputManager(*this)
{
}
@ -62,6 +63,7 @@ int32_t DawnGame::init() {
int32_t DawnGame::update(float_t delta) {
this->assetManager.update();
this->inputManager.update();
if(this->scene != nullptr) this->scene->update();