Exemplo n.º 1
0
        private void CheckPlayerCollectibleCollision()
        {
            LevelProgression levelProgression = GetLevelProgression();

            List <Collectible> collectedCollectibles = collisions.GetPlayerCollectibleCollisions(levelProgression);

            foreach (Collectible collectible in collectedCollectibles)
            {
                levelProgression.CollectCollectible(collectible);

                levelProgression.AddPoints(GameplayValues.PointsForCollectible);
            }
        }