2013-09-07 13:19:56 -07:00
|
|
|
|
|
|
|
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
|
|
|
|
|
|
|
#include "MobFamilyCollecter.h"
|
|
|
|
#include "Mobs/Monster.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-20 05:16:21 -07:00
|
|
|
void cMobFamilyCollecter::CollectMob(cMonster & a_Monster)
|
2013-09-07 13:19:56 -07:00
|
|
|
{
|
|
|
|
cMonster::eFamily MobFamily = a_Monster.GetMobFamily();
|
|
|
|
m_Mobs[MobFamily].insert(&a_Monster);
|
|
|
|
}
|
|
|
|
|
2013-10-18 11:02:53 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int cMobFamilyCollecter::GetNumberOfCollectedMobs(cMonster::eFamily a_Family)
|
2013-09-07 13:19:56 -07:00
|
|
|
{
|
|
|
|
return m_Mobs[a_Family].size();
|
|
|
|
}
|
2013-10-18 11:02:53 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|