diff --git a/Roboterfabrik/src/Domäne/C3PO.java b/Roboterfabrik/src/Domäne/C3PO.java index aadc47c..1fc66b3 100644 --- a/Roboterfabrik/src/Domäne/C3PO.java +++ b/Roboterfabrik/src/Domäne/C3PO.java @@ -4,8 +4,11 @@ public class C3PO extends Roboter{ String name; int id; static int idZähler = 10000; + RobotType robotType; + C3PO (String name){ super (name); + this.robotType = robotType.C3PO; this.id = idZähler; idZähler++; }