Pr_robot_factory/domain/R2D2.java

20 lines
316 B
Java
Raw Normal View History

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