X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FApplication.hpp;h=5909e3ba1437500497b69cee79925b4c5e267059;hb=12744a2f68b3c9496076d6d7b6fb3581ff78472a;hp=636b82e85899c389a7f69437a001495b638ec428;hpb=7c2a8b8285278b8a3077b311d82f05ea0463a96e;p=blank.git diff --git a/src/app/Application.hpp b/src/app/Application.hpp index 636b82e..5909e3b 100644 --- a/src/app/Application.hpp +++ b/src/app/Application.hpp @@ -3,7 +3,6 @@ #include "Assets.hpp" #include "FrameCounter.hpp" -#include "init.hpp" #include "RandomWalk.hpp" #include "../audio/Audio.hpp" #include "../graphics/Viewport.hpp" @@ -15,6 +14,8 @@ namespace blank { +class Window; + class Application { public: @@ -27,7 +28,7 @@ public: World::Config world = World::Config(); }; - explicit Application(const Config &); + Application(Window &, const Config &); ~Application(); Application(const Application &) = delete; @@ -56,7 +57,7 @@ public: static Entity &MakeTestEntity(World &); private: - Init init; + Window &window; Viewport viewport; Assets assets; Audio audio;