summaryrefslogtreecommitdiffstats
path: root/source/Mobs/AggressiveMonster.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-23 22:53:08 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-23 22:53:08 +0200
commit16f44ab7de445e153d949a611104f9ca1cac265c (patch)
tree8abf5a3442a1877855f2c80d9482611a04922683 /source/Mobs/AggressiveMonster.h
parentSource files cleanup: WorldStorage-related files in a separate subfolder (diff)
downloadcuberite-16f44ab7de445e153d949a611104f9ca1cac265c.tar
cuberite-16f44ab7de445e153d949a611104f9ca1cac265c.tar.gz
cuberite-16f44ab7de445e153d949a611104f9ca1cac265c.tar.bz2
cuberite-16f44ab7de445e153d949a611104f9ca1cac265c.tar.lz
cuberite-16f44ab7de445e153d949a611104f9ca1cac265c.tar.xz
cuberite-16f44ab7de445e153d949a611104f9ca1cac265c.tar.zst
cuberite-16f44ab7de445e153d949a611104f9ca1cac265c.zip
Diffstat (limited to 'source/Mobs/AggressiveMonster.h')
-rw-r--r--source/Mobs/AggressiveMonster.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/source/Mobs/AggressiveMonster.h b/source/Mobs/AggressiveMonster.h
new file mode 100644
index 000000000..7d741dc9a
--- /dev/null
+++ b/source/Mobs/AggressiveMonster.h
@@ -0,0 +1,17 @@
+#pragma once
+
+#include "Monster.h"
+
+class cAggressiveMonster : public cMonster
+{
+public:
+ cAggressiveMonster();
+ ~cAggressiveMonster();
+
+ virtual void Tick(float a_Dt);
+ virtual void InStateChasing(float a_Dt);
+
+ virtual void EventSeePlayer(cEntity *);
+protected:
+ float m_ChaseTime;
+};