RobotType in C3PO
Merge branch 'master' of https://gitty.informatik.hs-mannheim.de/2122158/PR2-Roboterfabrik.gitmaster
parent
d59ee7395f
commit
ed092aa6d4
|
@ -4,8 +4,11 @@ public class C3PO extends Roboter{
|
||||||
String name;
|
String name;
|
||||||
int id;
|
int id;
|
||||||
static int idZähler = 10000;
|
static int idZähler = 10000;
|
||||||
|
RobotType robotType;
|
||||||
|
|
||||||
C3PO (String name){
|
C3PO (String name){
|
||||||
super (name);
|
super (name);
|
||||||
|
this.robotType = robotType.C3PO;
|
||||||
this.id = idZähler;
|
this.id = idZähler;
|
||||||
idZähler++;
|
idZähler++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue