X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fai%2FRoamState.hpp;fp=src%2Fai%2FRoamState.hpp;h=3a560e09af7c9c89aa12faa08ba4ff996895865d;hb=f0a20986c573c4df1eb1212333489252c4b30efa;hp=0000000000000000000000000000000000000000;hpb=0ab149c70b3f984b2cc0c7a122b4aa347bc5fd79;p=blank.git diff --git a/src/ai/RoamState.hpp b/src/ai/RoamState.hpp new file mode 100644 index 0000000..3a560e0 --- /dev/null +++ b/src/ai/RoamState.hpp @@ -0,0 +1,24 @@ +#ifndef BLANK_AI_ROAMSTATE_HPP_ +#define BLANK_AI_ROAMSTATE_HPP_ + +#include "AIState.hpp" + + +namespace blank { + +/// randomly waltz about the landscape +/// hold at random +/// start chasing a player if one comes near + +class RoamState +: public AIState { + + void Enter(AIController &) const override; + void Update(AIController &, Entity &, float dt) const override; + void Exit(AIController &) const override; + +}; + +} + +#endif