X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fai%2FChaser.hpp;fp=src%2Fai%2FChaser.hpp;h=0000000000000000000000000000000000000000;hb=150d065f431d665326fd8028748c48a74ad956bb;hp=43667c06d332686471f3036be79ce003dc1a017d;hpb=80a9a59d71a7b144c12f64cbef4644751bd54745;p=blank.git diff --git a/src/ai/Chaser.hpp b/src/ai/Chaser.hpp deleted file mode 100644 index 43667c0..0000000 --- a/src/ai/Chaser.hpp +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef BLANK_AI_CHASER_HPP_ -#define BLANK_AI_CHASER_HPP_ - -#include "Controller.hpp" - - -namespace blank { - -class World; - -class Chaser -: public Controller { - -public: - Chaser(World &, Entity &ctrl, Entity &tgt) noexcept; - ~Chaser(); - - Entity &Target() noexcept { return tgt; } - const Entity &Target() const noexcept { return tgt; } - - void Update(int dt) override; - -private: - World &world; - Entity &tgt; - float chase_speed; - float flee_speed; - float stop_dist; - float flee_dist; - -}; - -} - -#endif