Ejemplo n.º 1
0
        private void initPositions()
        {
            for (int i = 1; i < 10; i++)
            {
                snake.AddPoint(new Point(i, 20));
            }

            LoadMap(level);

            food.ClearLocations();
            food.AddPoint(GetRandomPoint());
        }