Asset Progress

This commit is contained in:
2023-11-25 15:51:20 -06:00
parent c2fb75df97
commit 89fe77c07e
25 changed files with 787 additions and 119 deletions

View File

@ -22,6 +22,8 @@ void Game::init() {
}
void Game::update() {
this->assetManager.update();
if(nextFrameScene) {
nextFrameScene->stage();
currentScene = nextFrameScene;

View File

@ -8,6 +8,7 @@
#include "display/RenderHost.hpp"
#include "input/InputManager.hpp"
#include "time/TimeManager.hpp"
#include "asset/AssetManager.hpp"
namespace Dawn {
class Scene;
@ -21,6 +22,7 @@ namespace Dawn {
RenderHost renderHost;
InputManager inputManager;
TimeManager timeManager;
AssetManager assetManager;
/**
* Constructs the game instance, does not initialize anything.