Robotertypen

main
Lukas Berens 2022-12-27 11:09:41 +01:00
parent a21879f79d
commit 452ab03ce9
3 changed files with 103 additions and 0 deletions

View File

@ -0,0 +1,49 @@
package tpe.exceptions.roboter;
import tpe.exceptions.roboter.exceptions.RobotException;
public class C3PO implements RobotControl, RobotInstructions{
@Override
public String speak(int[] zahlen) {
// TODO Auto-generated method stub
return null;
}
@Override
public int[] think(int[] zahlen) {
// TODO Auto-generated method stub
return null;
}
@Override
public int getId() {
// TODO Auto-generated method stub
return 0;
}
@Override
public String getName() {
// TODO Auto-generated method stub
return null;
}
@Override
public void triggerPowerSwitch() {
// TODO Auto-generated method stub
}
@Override
public boolean isPowerOn() {
// TODO Auto-generated method stub
return false;
}
@Override
public RobotException getLastException() {
// TODO Auto-generated method stub
return null;
}
}

View File

@ -0,0 +1,5 @@
package tpe.exceptions.roboter;
public class Nexus6 {
}

View File

@ -0,0 +1,49 @@
package tpe.exceptions.roboter;
import tpe.exceptions.roboter.exceptions.RobotException;
public class R2D2 implements RobotControl, RobotInstructions {
@Override
public int getId() {
// TODO Auto-generated method stub
return 0;
}
@Override
public String getName() {
// TODO Auto-generated method stub
return null;
}
@Override
public void triggerPowerSwitch() {
// TODO Auto-generated method stub
}
@Override
public boolean isPowerOn() {
// TODO Auto-generated method stub
return false;
}
@Override
public RobotException getLastException() {
// TODO Auto-generated method stub
return null;
}
@Override
public String speak(int[] zahlen) {
// TODO Auto-generated method stub
return null;
}
@Override
public int[] think(int[] zahlen) {
// TODO Auto-generated method stub
return null;
}
}