nikow 2023-01-03 16:48:45 +01:00
parent d59ee7395f
commit ed092aa6d4
1 changed files with 3 additions and 0 deletions

View File

@ -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++;
}