package class4_1_RobotFactories;// Dr. Yoder. MSOE. 19 December 2016 import java.util.Scanner; public class RobotManager { public void run(RobotFactory factory) { AbstractRobot robot = factory.create(); System.out.println("Where do you want the robot to go?"); Scanner in = new Scanner(System.in); double x = in.nextDouble(); double y = in.nextDouble(); robot.setTarget(x,y); System.out.println(robot); } }