Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Types | Public Member Functions | Protected Attributes | List of all members
cMobFamilyCollecter Class Reference

This class is used to collect the list of mobs for each family. More...

#include <MobFamilyCollecter.h>

Public Types

typedef const std::set< cMonster::eFamilytMobFamilyList
 

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
 

Detailed Description

This class is used to collect the list of mobs for each family.

Definition at line 12 of file MobFamilyCollecter.h.

Member Typedef Documentation

◆ tMobFamilyList

Definition at line 15 of file MobFamilyCollecter.h.

Member Function Documentation

◆ CollectMob()

void cMobFamilyCollecter::CollectMob ( cMonster a_Monster)

Definition at line 10 of file MobFamilyCollecter.cpp.

◆ GetNumberOfCollectedMobs()

int cMobFamilyCollecter::GetNumberOfCollectedMobs ( cMonster::eFamily  a_Family)

Definition at line 20 of file MobFamilyCollecter.cpp.

Member Data Documentation

◆ m_Mobs

std::map<cMonster::eFamily, std::set<cMonster *> > cMobFamilyCollecter::m_Mobs
protected

Definition at line 24 of file MobFamilyCollecter.h.


The documentation for this class was generated from the following files: