summaryrefslogtreecommitdiffstats
path: root/src/Entities/Compoments
diff options
context:
space:
mode:
authorSamuel Barney <samjbarney@gmail.com>2014-07-10 22:13:30 +0200
committerSamuel Barney <samjbarney@gmail.com>2014-07-10 22:13:30 +0200
commitc7c23085df72cd9fba98b8cbc6348cd55c897f1e (patch)
treefa157e66041d26978f248c5edb8392f7e4d5c5e3 /src/Entities/Compoments
parentAdded functions to allow me to get/set the m_AttackInterval value. (diff)
downloadcuberite-c7c23085df72cd9fba98b8cbc6348cd55c897f1e.tar
cuberite-c7c23085df72cd9fba98b8cbc6348cd55c897f1e.tar.gz
cuberite-c7c23085df72cd9fba98b8cbc6348cd55c897f1e.tar.bz2
cuberite-c7c23085df72cd9fba98b8cbc6348cd55c897f1e.tar.lz
cuberite-c7c23085df72cd9fba98b8cbc6348cd55c897f1e.tar.xz
cuberite-c7c23085df72cd9fba98b8cbc6348cd55c897f1e.tar.zst
cuberite-c7c23085df72cd9fba98b8cbc6348cd55c897f1e.zip
Diffstat (limited to 'src/Entities/Compoments')
-rw-r--r--src/Entities/Compoments/AIComponent.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Entities/Compoments/AIComponent.h b/src/Entities/Compoments/AIComponent.h
index 1659e2304..7ba59ef2c 100644
--- a/src/Entities/Compoments/AIComponent.h
+++ b/src/Entities/Compoments/AIComponent.h
@@ -1,11 +1,11 @@
#pragma once
-
-#include "../Entity.h"
+#include "../Entities/Entity.h"
+#include "../Mobs/Monster.h"
class cAIComponent
{
protected:
- cEntity * m_Self;
+ cMonster * m_Self;
public:
cAIComponent(cEntity * a_Entity) : m_Self(a_Entity){}