]> git.localhorst.tv Git - blank.git/blobdiff - src/ai/Spawner.hpp
split composite model in template and instance
[blank.git] / src / ai / Spawner.hpp
index 127a8606dbdfbb8a2a6e491d75b632a8fb22ba99..7b56130f5f090aba00cfe9426637b1aa7d7d4bab 100644 (file)
@@ -2,6 +2,8 @@
 #define BLANK_AI_SPAWNER_HPP_
 
 #include "../app/IntervalTimer.hpp"
+#include "../model/CompositeModel.hpp"
+#include "../model/EntityModel.hpp"
 
 #include <vector>
 #include <glm/glm.hpp>
@@ -29,6 +31,9 @@ private:
        World &world;
        std::vector<Controller *> controllers;
 
+       EntityModel models[3];
+       CompositeModel skeletons[3];
+
        IntervalTimer timer;
        float despawn_range;
        float spawn_distance;