32 lines
741 B
Java
32 lines
741 B
Java
import domain.C3PO;
|
|
import robot.exceptions.RobotException;
|
|
|
|
public class Main {
|
|
public static void main(String[] args) {
|
|
|
|
C3PO Herbert = new C3PO(0, "Herbert");
|
|
R2D2 Gudrun = new R2D2(0, "Gdurun");
|
|
int[] input = {6,5,4,3,2,1};
|
|
int[] input2 = input;
|
|
//Herbert.triggerPowerSwitch();
|
|
//Gudrun.triggerPowerSwitch();
|
|
|
|
|
|
|
|
//System.out.println("Was neues ausgeben");
|
|
|
|
//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);
|
|
}
|
|
|
|
*/
|
|
}
|
|
}
|