]> git.localhorst.tv Git - blank.git/blob - src/ai/ChaseState.hpp
more fun with AI/steering
[blank.git] / src / ai / ChaseState.hpp
1 #ifndef BLANK_AI_CHASESTATE_HPP_
2 #define BLANK_AI_CHASESTATE_HPP_
3
4 #include "AIState.hpp"
5
6
7 namespace blank {
8
9 /// stand around and do nothing
10 /// occasionally look in a different direction
11 /// start roaming at random
12 /// start chasing a player if one comes near
13
14 class ChaseState
15 : public AIState {
16
17         void Enter(AIController &) const override;
18         void Update(AIController &, Entity &, float dt) const override;
19         void Exit(AIController &) const override;
20
21 };
22
23 }
24
25 #endif