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