SAe/SAe2.1/Monstre.java
2023-05-19 17:13:41 +02:00

22 lines
289 B
Java

public class Monstre extends Case{
private int pv;
public Monstre(int pdv, int x, int y){
super(x, y, "monstre");
this.pv = pdv;
}
public String getLabelPv(){
return (""+this.pv);
}
public int getPv(){
return this.pv;
}
public void setPv(int pdv){
this.pv=pdv;
}
}