Cuberite
A lightweight, fast and extensible game server for Minecraft
|
This class is used to collect the list of mobs for each family. More...
#include <MobFamilyCollecter.h>
Public Types | |
typedef const std::set< cMonster::eFamily > | tMobFamilyList |
Public Member Functions | |
void | CollectMob (cMonster &a_Monster) |
int | GetNumberOfCollectedMobs (cMonster::eFamily a_Family) |
Protected Attributes | |
std::map< cMonster::eFamily, std::set< cMonster * > > | m_Mobs |
This class is used to collect the list of mobs for each family.
Definition at line 12 of file MobFamilyCollecter.h.
typedef const std::set<cMonster::eFamily> cMobFamilyCollecter::tMobFamilyList |
Definition at line 15 of file MobFamilyCollecter.h.
void cMobFamilyCollecter::CollectMob | ( | cMonster & | a_Monster | ) |
Definition at line 10 of file MobFamilyCollecter.cpp.
int cMobFamilyCollecter::GetNumberOfCollectedMobs | ( | cMonster::eFamily | a_Family | ) |
Definition at line 20 of file MobFamilyCollecter.cpp.
|
protected |
Definition at line 24 of file MobFamilyCollecter.h.