X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fai%2FSpawner.hpp;h=d4c0a57f2c6b345d5749c04aa81ef31a22a0b8ca;hb=38a4cffc0b6aa58e49d24c06aad7bee14cb6515d;hp=a1181d30bf96f77ec0809228f2079c7d0c7fa88f;hpb=dbfcb12348b80e2582f710acb1e4ed0011889ba2;p=blank.git diff --git a/src/ai/Spawner.hpp b/src/ai/Spawner.hpp index a1181d3..d4c0a57 100644 --- a/src/ai/Spawner.hpp +++ b/src/ai/Spawner.hpp @@ -2,8 +2,6 @@ #define BLANK_AI_SPAWNER_HPP_ #include "../app/IntervalTimer.hpp" -#include "../model/CompositeModel.hpp" -#include "../model/EntityModel.hpp" #include "../rand/GaloisLFSR.hpp" #include @@ -14,12 +12,13 @@ namespace blank { class Controller; class Entity; +class Skeletons; class World; class Spawner { public: - Spawner(World &, std::uint64_t seed); + Spawner(World &, Skeletons &, std::uint64_t seed); ~Spawner(); void Update(int dt); @@ -31,11 +30,9 @@ private: private: World &world; + Skeletons &skeletons; std::vector controllers; - EntityModel models[3]; - CompositeModel skeletons[3]; - GaloisLFSR random; IntervalTimer timer;