private void KickBall(Player p, Ball b) { }
public override void OnCollision(GameObject other) { if (other is PowerUp) { powerOn = true; } if (other is Turret) { this.position = lastPosition; } if (other is Ball) { lastBallToHit = (Ball)other; // Finds which ball was last hit } }