X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FApplication.hpp;h=9644794c1e7d54a9ff5bade9b0c9a0f9c155a5d5;hb=745729c1935276e6f49d108a0a465214aa93c3cb;hp=636b82e85899c389a7f69437a001495b638ec428;hpb=7c2a8b8285278b8a3077b311d82f05ea0463a96e;p=blank.git diff --git a/src/app/Application.hpp b/src/app/Application.hpp index 636b82e..9644794 100644 --- a/src/app/Application.hpp +++ b/src/app/Application.hpp @@ -3,8 +3,7 @@ #include "Assets.hpp" #include "FrameCounter.hpp" -#include "init.hpp" -#include "RandomWalk.hpp" +#include "../ai/RandomWalk.hpp" #include "../audio/Audio.hpp" #include "../graphics/Viewport.hpp" #include "../ui/Interface.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;