diff --git a/Roboterfabrik/src/Domäne/C3PO.java b/Roboterfabrik/src/Domäne/C3PO.java index c1f2cbf..aadc47c 100644 --- a/Roboterfabrik/src/Domäne/C3PO.java +++ b/Roboterfabrik/src/Domäne/C3PO.java @@ -1,5 +1,31 @@ package Domäne; -public class C3PO { +public class C3PO extends Roboter{ + String name; + int id; + static int idZähler = 10000; + C3PO (String name){ + super (name); + this.id = idZähler; + idZähler++; + } + + @Override + public int getId() { + // TODO Auto-generated method stub + return 0; + } + + @Override + public String speak(int[] zahlen) throws RobotException { + // TODO Auto-generated method stub + return null; + } + + @Override + public int[] think(int[] zahlen) throws RobotException { + // TODO Auto-generated method stub + return null; + } }