Skeleton, Ghast and Blaze's projectile code is now in their respective class.

This commit is contained in:
STRWarrior
2013-11-04 21:46:56 +01:00
parent 6f0f620cf8
commit 7cfcfc5f39
8 changed files with 91 additions and 68 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ void cAggressiveMonster::InStateChasing(float a_Dt)
Vector3f Their = Vector3f( m_Target->GetPosition() );
if ((Their - Pos).Length() <= m_AttackRange)
{
cMonster::Attack(a_Dt);
Attack(a_Dt);
}
MoveToPosition(Their + Vector3f(0, 0.65f, 0));
}