X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fai%2FSpawner.hpp;h=daa5f7873390b41de1d9be6db9f2f395d8b87fe3;hb=d507e4b06e32aff46caacf961b310ba1050b232f;hp=f99029e28f7fdec7b1f08f34d4ef6ff9ef28d269;hpb=150d065f431d665326fd8028748c48a74ad956bb;p=blank.git diff --git a/src/ai/Spawner.hpp b/src/ai/Spawner.hpp index f99029e..daa5f78 100644 --- a/src/ai/Spawner.hpp +++ b/src/ai/Spawner.hpp @@ -2,15 +2,14 @@ #define BLANK_AI_SPAWNER_HPP_ #include "../app/IntervalTimer.hpp" +#include "../graphics/glm.hpp" #include -#include 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 ⊧ std::vector entities; - GaloisLFSR &random; - CoarseTimer timer; float despawn_range; float spawn_distance;