Ejemplo n.º 1
0
        private int GetPart1Solution()
        {
            PaintableHullSection hull  = new PaintableHullSection();
            PaintingRobot        robot = new PaintingRobot(hull, 0);

            return(robot.PaintedPanels);
        }
Ejemplo n.º 2
0
        private string GetPart2Solution()
        {
            PaintableHullSection hull  = new PaintableHullSection();
            PaintingRobot        robot = new PaintingRobot(hull, 1);

            return(hull.GetAreaOfInterest());
        }
Ejemplo n.º 3
0
 public RobotInputProvider(PaintableHullSection hullSection, PaintingRobot paintingRobot)
 {
     _robot = paintingRobot;
     _hull  = hullSection;
 }