diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-12-21 13:52:14 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-12-21 13:52:14 +0100 |
commit | afaf104b4086dbc5245f92a209cb68a088780ebb (patch) | |
tree | 82bdb4f173cda642566206066f8fdd27b9f725b5 /source/Mobs/AggressiveMonster.h | |
parent | Added "Latest version" to the PrimaryServerVersion in webadmin settings (patch contributed by STR_Warrior) (diff) | |
download | cuberite-afaf104b4086dbc5245f92a209cb68a088780ebb.tar cuberite-afaf104b4086dbc5245f92a209cb68a088780ebb.tar.gz cuberite-afaf104b4086dbc5245f92a209cb68a088780ebb.tar.bz2 cuberite-afaf104b4086dbc5245f92a209cb68a088780ebb.tar.lz cuberite-afaf104b4086dbc5245f92a209cb68a088780ebb.tar.xz cuberite-afaf104b4086dbc5245f92a209cb68a088780ebb.tar.zst cuberite-afaf104b4086dbc5245f92a209cb68a088780ebb.zip |
Diffstat (limited to 'source/Mobs/AggressiveMonster.h')
-rw-r--r-- | source/Mobs/AggressiveMonster.h | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/source/Mobs/AggressiveMonster.h b/source/Mobs/AggressiveMonster.h index 7d741dc9a..f71da7b3c 100644 --- a/source/Mobs/AggressiveMonster.h +++ b/source/Mobs/AggressiveMonster.h @@ -1,17 +1,29 @@ + #pragma once #include "Monster.h" -class cAggressiveMonster : public cMonster + + + + +class cAggressiveMonster : + public cMonster { + typedef cMonster super; + public: - cAggressiveMonster(); - ~cAggressiveMonster(); + cAggressiveMonster(void); - virtual void Tick(float a_Dt); - virtual void InStateChasing(float a_Dt); + virtual void Tick(float a_Dt) override; + virtual void InStateChasing(float a_Dt) override; + + virtual void EventSeePlayer(cEntity *) override; - virtual void EventSeePlayer(cEntity *); protected: float m_ChaseTime; -}; +} ; + + + + |