示例#1
0
        private void CheckBonusCollision()
        {
            if (Bonus == null || !Bonus.CollidePlayer(Player))
            {
                return;
            }

            UseBonus(Bonus.Type);
            Bonus = null;
            OnCollideBonus(new ModelEventArgs());
        }