]> git.localhorst.tv Git - blank.git/blobdiff - src/ai/AIState.hpp
AI state machine
[blank.git] / src / ai / AIState.hpp
diff --git a/src/ai/AIState.hpp b/src/ai/AIState.hpp
new file mode 100644 (file)
index 0000000..ed82cc0
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef BLANK_AI_AISTATE_HPP_
+#define BLANK_AI_AISTATE_HPP_
+
+
+namespace blank {
+
+struct AIState {
+
+       virtual void Enter(AIController &) const = 0;
+       virtual void Update(AIController &, Entity &, float dt) const = 0;
+       virtual void Exit(AIController &) const = 0;
+
+};
+
+}
+
+#endif