summaryrefslogtreecommitdiffstats
path: root/source/cMonster.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cMonster.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/source/cMonster.h b/source/cMonster.h
index d46cd9205..f16b7aa56 100644
--- a/source/cMonster.h
+++ b/source/cMonster.h
@@ -27,22 +27,23 @@ public:
virtual bool IsA( const char* a_EntityType );
- virtual cPacket * GetSpawnPacket(void) const override;
+ virtual void SpawnOn(cClientHandle & a_ClientHandle) override;
virtual void Tick(float a_Dt) override;
virtual void HandlePhysics(float a_Dt);
- virtual void ReplicateMovement();
+ virtual void ReplicateMovement(void);
- virtual void TakeDamage( int a_Damage, cEntity* a_Instigator );
- virtual void KilledBy( cEntity* a_Killer );
+ virtual void TakeDamage(int a_Damage, cEntity * a_Instigator) override;
+ virtual void KilledBy(cEntity * a_Killer) override;
- virtual void MoveToPosition( const Vector3f & a_Position );
- virtual bool ReachedDestination();
+ virtual void MoveToPosition(const Vector3f & a_Position);
+ virtual bool ReachedDestination(void);
+
+ char GetMobType(void) const {return m_MobType; }
- const char *GetState();
+ const char * GetState();
void SetState(const AString & str);
- static void ListMonsters();
virtual void CheckEventSeePlayer();
virtual void EventSeePlayer(cEntity *);