SAe/SAe2.1/Monstre.java

22 lines
289 B
Java
Raw Permalink Normal View History

2023-05-19 17:13:41 +02:00
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;
}
}