SAe/SAe2.1/commentente/SAé/Arme.java

20 lines
304 B
Java
Raw Permalink Normal View History

2023-05-19 17:13:41 +02:00
public class Arme extends CaseBonus{
public int value;
2023-06-23 13:40:21 +02:00
public Arme(int v, int x, int y, String t){
super(x, y, t);
2023-05-19 17:13:41 +02:00
this.value = v;
}
public String getLabel(){
return (""+this.value);
}
public int getValue(){
return this.value;
}
public void setValue(int val){
this.value = val;
}
}