]> git.localhorst.tv Git - blank.git/blobdiff - src/ai/Spawner.hpp
glm backwards compatibility
[blank.git] / src / ai / Spawner.hpp
index f99029e28f7fdec7b1f08f34d4ef6ff9ef28d269..daa5f7873390b41de1d9be6db9f2f395d8b87fe3 100644 (file)
@@ -2,15 +2,14 @@
 #define BLANK_AI_SPAWNER_HPP_
 
 #include "../app/IntervalTimer.hpp"
+#include "../graphics/glm.hpp"
 
 #include <vector>
-#include <glm/glm.hpp>
 
 
 namespace blank {
 
 class Entity;
-class GaloisLFSR;
 class Model;
 class ModelRegistry;
 class World;
@@ -18,7 +17,7 @@ class World;
 class Spawner {
 
 public:
-       Spawner(World &, ModelRegistry &, GaloisLFSR &);
+       Spawner(World &, ModelRegistry &);
        ~Spawner();
 
        void LimitModels(std::size_t begin, std::size_t end);
@@ -37,8 +36,6 @@ private:
        ModelRegistry &models;
        std::vector<Entity *> entities;
 
-       GaloisLFSR &random;
-
        CoarseTimer timer;
        float despawn_range;
        float spawn_distance;