summaryrefslogtreecommitdiffstats
path: root/source/cPassiveAggressiveMonster.h
diff options
context:
space:
mode:
authorlapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-25 23:47:12 +0100
committerlapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-25 23:47:12 +0100
commite8f230f24e55469f1aa832bc8dad73db8018ffe1 (patch)
treeabccca0bef086c4f2eda8497fa757433464e3b23 /source/cPassiveAggressiveMonster.h
parent- fixed the code from the last commit :) (diff)
downloadcuberite-e8f230f24e55469f1aa832bc8dad73db8018ffe1.tar
cuberite-e8f230f24e55469f1aa832bc8dad73db8018ffe1.tar.gz
cuberite-e8f230f24e55469f1aa832bc8dad73db8018ffe1.tar.bz2
cuberite-e8f230f24e55469f1aa832bc8dad73db8018ffe1.tar.lz
cuberite-e8f230f24e55469f1aa832bc8dad73db8018ffe1.tar.xz
cuberite-e8f230f24e55469f1aa832bc8dad73db8018ffe1.tar.zst
cuberite-e8f230f24e55469f1aa832bc8dad73db8018ffe1.zip
Diffstat (limited to 'source/cPassiveAggressiveMonster.h')
-rw-r--r--source/cPassiveAggressiveMonster.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/cPassiveAggressiveMonster.h b/source/cPassiveAggressiveMonster.h
new file mode 100644
index 000000000..0d1de9fd0
--- /dev/null
+++ b/source/cPassiveAggressiveMonster.h
@@ -0,0 +1,13 @@
+#pragma once
+
+#include "cAggressiveMonster.h"
+
+class cPassiveAggressiveMonster : public cAggressiveMonster
+{
+public:
+ cPassiveAggressiveMonster();
+ ~cPassiveAggressiveMonster();
+
+ virtual void TakeDamage(int a_Damage, cEntity* a_Instigator);
+ void EventSeePlayer(cEntity *a_Entity);
+};