package tpe.exceptions.roboter; import tpe.exceptions.RobotException; public class Nexus6 implements RobotControl, RobotInstructions { private RobotType robotType; private static int id=19281982; private static String name="Pris"; private static boolean powerSwitch=false; private static Nexus6 instance = new Nexus6(id, name, powerSwitch); private Nexus6(int id, String name, boolean powerSwitch) { super(); robotType= RobotType.NEXUS6; } public static Nexus6 getInstance() { return instance; } @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; } public int getId() { return id; } @Override public String getName() { return name; } @Override public void triggerPowerSwitch() { powerSwitch=false; } @Override public boolean isPowerOn() { return powerSwitch; } @Override public RobotException getLastException() { // TODO Auto-generated method stub return null; } }