24 lines
503 B
Java
24 lines
503 B
Java
import domain.C3PO;
|
|
|
|
public class Main {
|
|
public static void main(String[] args) {
|
|
|
|
C3PO Herbert = new C3PO(0, "Herbert");
|
|
int[] input = {6,5,4,3,2,1};
|
|
|
|
|
|
//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);
|
|
}
|
|
|
|
*/
|
|
}
|
|
}
|