예제 #1
0
        public MapManagement(ObstaclesList obstaclesListList, int width = 10, int height = 10)
        {
            _obstaclesListList = obstaclesListList;

            _marsMap = new MarsMap(width: width, height: height);
        }
예제 #2
0
 public Navigate(Compass direction, int positionY, int positionX, ObstaclesList obstaclesListList = null)
 {
     _axis          = new Axis(positionX, positionY);
     _direction     = new Direction(direction);
     _mapManagement = new MapManagement(obstaclesListList);
 }