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