]> git.localhorst.tv Git - blank.git/blobdiff - src/ai/Controller.hpp
centralize entity controllers
[blank.git] / src / ai / Controller.hpp
diff --git a/src/ai/Controller.hpp b/src/ai/Controller.hpp
deleted file mode 100644 (file)
index d2d6b1c..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef BLANK_AI_CONTROLLER_HPP_
-#define BLANK_AI_CONTROLLER_HPP_
-
-
-namespace blank {
-
-class Entity;
-
-class Controller {
-
-public:
-       explicit Controller(Entity &e) noexcept;
-       virtual ~Controller();
-
-       Entity &Controlled() noexcept { return entity; }
-       const Entity &Controlled() const noexcept { return entity; }
-
-       virtual void Update(int dt) = 0;
-
-private:
-       Entity &entity;
-
-};
-
-}
-
-#endif