1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#include "cWolf.h" cWolf::cWolf() { m_MobType = 95; GetMonsterConfig("Wolf"); } cWolf::~cWolf() { } bool cWolf::IsA( const char* a_EntityType ) { if( strcmp( a_EntityType, "cWolf" ) == 0 ) return true; return cMonster::IsA( a_EntityType ); }