summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
authorSamuel Barney <samjbarney@gmail.com>2013-12-26 23:49:00 +0100
committerSamuel Barney <samjbarney@gmail.com>2013-12-26 23:49:00 +0100
commita4ed611778ee1ba0584deb736dc323f41e205c6a (patch)
tree225727f04eb09613a8543ab6df0c53ba10ca0130 /src/Entities
parentMerge pull request #476 from mc-server/apidump-writingplugin (diff)
downloadcuberite-a4ed611778ee1ba0584deb736dc323f41e205c6a.tar
cuberite-a4ed611778ee1ba0584deb736dc323f41e205c6a.tar.gz
cuberite-a4ed611778ee1ba0584deb736dc323f41e205c6a.tar.bz2
cuberite-a4ed611778ee1ba0584deb736dc323f41e205c6a.tar.lz
cuberite-a4ed611778ee1ba0584deb736dc323f41e205c6a.tar.xz
cuberite-a4ed611778ee1ba0584deb736dc323f41e205c6a.tar.zst
cuberite-a4ed611778ee1ba0584deb736dc323f41e205c6a.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Compoments/Component.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Entities/Compoments/Component.h b/src/Entities/Compoments/Component.h
new file mode 100644
index 000000000..3d7ebccaa
--- /dev/null
+++ b/src/Entities/Compoments/Component.h
@@ -0,0 +1,9 @@
+#include "Entity.h"
+
+class cComponent
+{
+protected:
+ cEntity * m_Self;
+public:
+ cComponent(cEntity * a_Entity) : m_Self(a_Entity){}
+}; \ No newline at end of file