]> git.localhorst.tv Git - blank.git/blobdiff - src/app/Application.hpp
moved entity spawn and control into its own class
[blank.git] / src / app / Application.hpp
index 9644794c1e7d54a9ff5bade9b0c9a0f9c155a5d5..973234916a3afa541c2f2e41a544ef455e340521 100644 (file)
@@ -3,7 +3,7 @@
 
 #include "Assets.hpp"
 #include "FrameCounter.hpp"
-#include "../ai/RandomWalk.hpp"
+#include "../ai/Spawner.hpp"
 #include "../audio/Audio.hpp"
 #include "../graphics/Viewport.hpp"
 #include "../ui/Interface.hpp"
@@ -54,8 +54,6 @@ public:
        /// push the current state to display
        void Render();
 
-       static Entity &MakeTestEntity(World &);
-
 private:
        Window &window;
        Viewport viewport;
@@ -66,7 +64,7 @@ private:
        World world;
        Interface interface;
 
-       RandomWalk test_controller;
+       Spawner spawner;
 
        bool running;