Time, Mr. Freeman?

This commit is contained in:
2023-11-17 12:27:18 -06:00
parent 490da9d0c1
commit 5901b9e07c
10 changed files with 105 additions and 3 deletions

View File

@ -21,7 +21,7 @@ void Game::init() {
nextFrameScene = std::make_shared<Scene>(shared_from_this(), initialScene);
}
void Game::update() {
void Game::update(float_t delta) {
renderHost.update(shared_from_this());
if(nextFrameScene) {

View File

@ -7,6 +7,7 @@
#include "dawnlibs.hpp"
#include "display/RenderHost.hpp"
#include "input/InputManager.hpp"
#include "time/TimeManager.hpp"
namespace Dawn {
class Scene;
@ -19,6 +20,7 @@ namespace Dawn {
public:
RenderHost renderHost;
InputManager inputManager;
TimeManager timeManager;
/**
* Constructs the game instance, does not initialize anything.