private void CheckBonusCollision() { if (Bonus == null || !Bonus.CollidePlayer(Player)) { return; } UseBonus(Bonus.Type); Bonus = null; OnCollideBonus(new ModelEventArgs()); }
private void CheckBonusCollision() { if (Bonus == null || !Bonus.CollidePlayer(Player)) { return; } UseBonus(Bonus.Type); Bonus = null; OnCollideBonus(new ModelEventArgs()); }