diff options
author | lapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-12-25 23:47:12 +0100 |
---|---|---|
committer | lapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-12-25 23:47:12 +0100 |
commit | e8f230f24e55469f1aa832bc8dad73db8018ffe1 (patch) | |
tree | abccca0bef086c4f2eda8497fa757433464e3b23 /source/cAggressiveMonster.h | |
parent | - fixed the code from the last commit :) (diff) | |
download | cuberite-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 '')
-rw-r--r-- | source/cAggressiveMonster.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/source/cAggressiveMonster.h b/source/cAggressiveMonster.h new file mode 100644 index 000000000..579e712ae --- /dev/null +++ b/source/cAggressiveMonster.h @@ -0,0 +1,17 @@ +#pragma once + +#include "cMonster.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; +}; |