Inside cMonster::getMobFamily() : replacing Polymorphism by Map, in order to remove redundancy
This commit is contained in:
@@ -55,11 +55,5 @@ void cPassiveMonster::Tick(float a_Dt, cChunk & a_Chunk)
|
||||
|
||||
|
||||
|
||||
cMonster::eFamily cPassiveMonster::GetMobFamily() const
|
||||
{
|
||||
return mfPassive;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user