Example #1
0
        /// <summary>
        /// Creates the obstacles pairs.
        /// </summary>
        private void CreateObstacles()
        {
            for (int i = 0; i < 4; i++)
            {
                var obstacle = EntitiesFactory.CreateObstaclePair(
                    OBSTACLEPAIRS_PULL_COUNT * DISTANCE_BWT_OBSTACLEPAIRS);

                this.EntityManager.Add(obstacle);
            }
        }