]> git.localhorst.tv Git - blank.git/blobdiff - src/ai/Spawner.hpp
allow multiple meshes per entity
[blank.git] / src / ai / Spawner.hpp
index 127a8606dbdfbb8a2a6e491d75b632a8fb22ba99..b36e520f7d38cb7273e33109052bbc6435ea205b 100644 (file)
@@ -2,6 +2,7 @@
 #define BLANK_AI_SPAWNER_HPP_
 
 #include "../app/IntervalTimer.hpp"
+#include "../model/EntityModel.hpp"
 
 #include <vector>
 #include <glm/glm.hpp>
@@ -29,6 +30,8 @@ private:
        World &world;
        std::vector<Controller *> controllers;
 
+       EntityModel models[14];
+
        IntervalTimer timer;
        float despawn_range;
        float spawn_distance;