X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fai%2FSpawner.hpp;fp=src%2Fai%2FSpawner.hpp;h=e3e8f24feea0326322266596576cf9d0e8e770dc;hb=79bff420037f150bd6efd2eef08bd06afafeb068;hp=0000000000000000000000000000000000000000;hpb=745729c1935276e6f49d108a0a465214aa93c3cb;p=blank.git diff --git a/src/ai/Spawner.hpp b/src/ai/Spawner.hpp new file mode 100644 index 0000000..e3e8f24 --- /dev/null +++ b/src/ai/Spawner.hpp @@ -0,0 +1,32 @@ +#ifndef BLANK_AI_SPAWNER_HPP_ +#define BLANK_AI_SPAWNER_HPP_ + +#include +#include + + +namespace blank { + +class RandomWalk; +class World; + +class Spawner { + +public: + explicit Spawner(World &); + ~Spawner(); + + void Update(int dt); + +private: + void Spawn(const glm::vec3 &); + +private: + World &world; + std::list controllers; + +}; + +} + +#endif