Pr_robot_factory/Main.java

20 lines
462 B
Java

import domain.C3PO;
import roboter.exceptions.RobotException;
public class Main {
public static void main(String[] args) {
//just some testing
/*C3PO Herbert = new C3PO(0, "Herbert");
int[] input = {6,5,4,3,2,1};
Herbert.triggerPowerSwitch();
try{
String asString = Herbert.speak(input);
System.out.println(asString);
}catch(RobotException re){
System.out.println(re);
}
*/
}
}