2022-12-08 14:58:44 +01:00
|
|
|
package domain;
|
|
|
|
|
2022-12-09 00:30:35 +01:00
|
|
|
public class R2D2 extends RobotBasics {
|
2022-12-08 23:13:22 +01:00
|
|
|
private int id;
|
|
|
|
private String name;
|
|
|
|
private boolean power;
|
|
|
|
|
2022-12-08 23:34:47 +01:00
|
|
|
/**
|
|
|
|
* Constructor
|
|
|
|
* @param id> int
|
|
|
|
* @param name> String
|
|
|
|
*/
|
2022-12-08 23:13:22 +01:00
|
|
|
public R2D2(int id, String name){
|
|
|
|
this.id = id;
|
|
|
|
this.name = name;
|
|
|
|
power = false;
|
|
|
|
}
|
2022-12-08 23:34:47 +01:00
|
|
|
|
2022-12-08 14:58:44 +01:00
|
|
|
}
|