912a1e7adc
http://forum.mc-server.org/showthread.php?tid=625 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1087 0a769ca7-a7f5-676a-18bf-c427514a06d6
27 lines
290 B
C++
27 lines
290 B
C++
|
|
#pragma once
|
|
|
|
#include "Monster.h"
|
|
|
|
|
|
|
|
|
|
|
|
class cPassiveMonster :
|
|
public cMonster
|
|
{
|
|
typedef cMonster super;
|
|
|
|
public:
|
|
cPassiveMonster(void);
|
|
|
|
virtual void Tick(float a_Dt) override;
|
|
|
|
/// When hit by someone, run away
|
|
virtual void DoTakeDamage(TakeDamageInfo & a_TDI) override;
|
|
} ;
|
|
|
|
|
|
|
|
|