]> git.localhorst.tv Git - blank.git/blob - src/ai/FleeState.hpp
new gcc version
[blank.git] / src / ai / FleeState.hpp
1 #ifndef BLANK_AI_FLEESTATE_HPP_
2 #define BLANK_AI_FLEESTATE_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 FleeState
15 : public AIState {
16
17         void Enter(AIController &, Entity &) const override;
18         void Update(AIController &, Entity &, float dt) const override;
19         void Exit(AIController &, Entity &) const override;
20
21 };
22
23 }
24
25 #endif