Time, Mr. Freeman?
This commit is contained in:
@ -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) {
|
||||
|
@ -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.
|
||||
|
Reference in New Issue
Block a user