Esempio n. 1
0
        static void Main(string[] args)
        {
            Robot robot = new Robot(new Point(5, 5), Direction.Vostok, new Walls(75, 20));
            robot.ToEdge();
            robot.Right();
            robot.ToEdge();
            robot.Left();
            robot.ToEdge();
            robot.Sever();
            robot.ToEdge();
            robot.Left();
            robot.ToEdge();
            robot.Left();
            robot.ToEdge();
            robot.Right();
            robot.ToEdge();
            robot.Right();
            robot.ToEdge();

            Console.ReadKey();
        }