20 lines
304 B
Java
20 lines
304 B
Java
public class Arme extends CaseBonus{
|
|
public int value;
|
|
|
|
public Arme(int v, int x, int y, String t){
|
|
super(x, y, t);
|
|
this.value = v;
|
|
}
|
|
|
|
public String getLabel(){
|
|
return (""+this.value);
|
|
}
|
|
|
|
public int getValue(){
|
|
return this.value;
|
|
}
|
|
|
|
public void setValue(int val){
|
|
this.value = val;
|
|
}
|
|
} |