public override void Collided(Combatant enemy) { throw new NotImplementedException(); }
private void HandleCombatantSpawned(Combatant combatant) { this.AddCombatant(combatant, enemyBase); //GodClass.battlefield.AddChild(combatant); }
public abstract void Collided(Combatant enemy);
private void DestroyCombatant(Combatant combatant, List <Combatant> list) { combatant.State = GamePiece.ActionState.dead; list.Remove(combatant); }
private bool CheckCollision(Combatant c1, GamePiece c2) { return(c1.BoundingBox.IntersectsRect(c2.BoundingBox)); }