summaryrefslogtreecommitdiffstats
path: root/src/Entities/Compoments/AIComponent.h
diff options
context:
space:
mode:
authorSamuel Barney <samjbarney@gmail.com>2013-12-28 21:25:41 +0100
committerSamuel Barney <samjbarney@gmail.com>2013-12-28 21:38:55 +0100
commitee00d189724c99f5fe5f7b1008b22632365f8235 (patch)
tree34f772a10bcb1d76c83f1501b7e4b9f7e44cbe8c /src/Entities/Compoments/AIComponent.h
parentRemoved unnecessary base class and added some hooks. (diff)
downloadcuberite-ee00d189724c99f5fe5f7b1008b22632365f8235.tar
cuberite-ee00d189724c99f5fe5f7b1008b22632365f8235.tar.gz
cuberite-ee00d189724c99f5fe5f7b1008b22632365f8235.tar.bz2
cuberite-ee00d189724c99f5fe5f7b1008b22632365f8235.tar.lz
cuberite-ee00d189724c99f5fe5f7b1008b22632365f8235.tar.xz
cuberite-ee00d189724c99f5fe5f7b1008b22632365f8235.tar.zst
cuberite-ee00d189724c99f5fe5f7b1008b22632365f8235.zip
Diffstat (limited to 'src/Entities/Compoments/AIComponent.h')
-rw-r--r--src/Entities/Compoments/AIComponent.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Entities/Compoments/AIComponent.h b/src/Entities/Compoments/AIComponent.h
new file mode 100644
index 000000000..483fe4164
--- /dev/null
+++ b/src/Entities/Compoments/AIComponent.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include "../Entity.h"
+
+class cAIComponent
+{
+protected:
+ cEntity * m_Self;
+public:
+ cAIComponent(cEntity * a_Entity) : m_Self(a_Entity){}
+
+ virtual void Tick(float a_Dt, cChunk & a_Chunk){}
+
+}; \ No newline at end of file