]> git.localhorst.tv Git - blank.git/blobdiff - src/ai/Spawner.hpp
centralize entity controllers
[blank.git] / src / ai / Spawner.hpp
index be2ff31b7307e99f484c5b183c788e329d260e82..f99029e28f7fdec7b1f08f34d4ef6ff9ef28d269 100644 (file)
@@ -9,7 +9,6 @@
 
 namespace blank {
 
-class Controller;
 class Entity;
 class GaloisLFSR;
 class Model;
@@ -36,11 +35,11 @@ private:
 private:
        World &world;
        ModelRegistry ⊧
-       std::vector<Controller *> controllers;
+       std::vector<Entity *> entities;
 
        GaloisLFSR &random;
 
-       IntervalTimer timer;
+       CoarseTimer timer;
        float despawn_range;
        float spawn_distance;
        unsigned int max_entities;