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;
|
||||
int id;
|
||||
static int idZähler = 10000;
|
||||
RobotType robotType;
|
||||
|
||||
C3PO (String name){
|
||||
super (name);
|
||||
this.robotType = robotType.C3PO;
|
||||
this.id = idZähler;
|
||||
idZähler++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue