X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fai%2FSpawner.hpp;h=e460bbc2dfccf5d7c3499327e71f5956ed54c31d;hb=825f479edf9867938b6789215ad7ae6303596cba;hp=d0c6f97c4695cbdf9db26202c8e8b8be4bf176fb;hpb=8fdc24f0b3fb287f5d4e1c7d1f85ad85d5ed2414;p=blank.git diff --git a/src/ai/Spawner.hpp b/src/ai/Spawner.hpp index d0c6f97..e460bbc 100644 --- a/src/ai/Spawner.hpp +++ b/src/ai/Spawner.hpp @@ -2,7 +2,6 @@ #define BLANK_AI_SPAWNER_HPP_ #include "../app/IntervalTimer.hpp" -#include "../rand/GaloisLFSR.hpp" #include #include @@ -13,13 +12,14 @@ namespace blank { class CompositeModel; class Controller; class Entity; +class GaloisLFSR; class Skeletons; class World; class Spawner { public: - Spawner(World &, Skeletons &, std::uint64_t seed); + Spawner(World &, Skeletons &, GaloisLFSR &); ~Spawner(); void LimitSkeletons(std::size_t begin, std::size_t end); @@ -38,7 +38,7 @@ private: Skeletons &skeletons; std::vector controllers; - GaloisLFSR random; + GaloisLFSR &random; IntervalTimer timer; float despawn_range;