From ed092aa6d426b421c97e0d27119c8de61a558cb6 Mon Sep 17 00:00:00 2001 From: nikow Date: Tue, 3 Jan 2023 16:48:45 +0100 Subject: [PATCH] RobotType in C3PO Merge branch 'master' of https://gitty.informatik.hs-mannheim.de/2122158/PR2-Roboterfabrik.git --- Roboterfabrik/src/Domäne/C3PO.java | 3 +++ 1 file changed, 3 insertions(+) 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++; }