private int GetPart1Solution() { PaintableHullSection hull = new PaintableHullSection(); PaintingRobot robot = new PaintingRobot(hull, 0); return(robot.PaintedPanels); }
private string GetPart2Solution() { PaintableHullSection hull = new PaintableHullSection(); PaintingRobot robot = new PaintingRobot(hull, 1); return(hull.GetAreaOfInterest()); }
public RobotInputProvider(PaintableHullSection hullSection, PaintingRobot paintingRobot) { _robot = paintingRobot; _hull = hullSection; }