]> git.localhorst.tv Git - blank.git/blobdiff - src/ai/Spawner.hpp
another type of entity controller
[blank.git] / src / ai / Spawner.hpp
index a0da02fb0ec939b4e7a6c8e2375a82b00d83d03a..120db6003424a1dfa91a0e0e387a502b5733554c 100644 (file)
@@ -3,13 +3,13 @@
 
 #include "../app/IntervalTimer.hpp"
 
-#include <list>
+#include <vector>
 #include <glm/glm.hpp>
 
 
 namespace blank {
 
-class RandomWalk;
+class Controller;
 class World;
 
 class Spawner {
@@ -27,7 +27,7 @@ private:
 
 private:
        World &world;
-       std::list<RandomWalk> controllers;
+       std::vector<Controller *> controllers;
 
        IntervalTimer timer;
        float despawn_range;