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