11 lines
190 B
Java
11 lines
190 B
Java
|
package domain.sheets;
|
||
|
|
||
|
public class Threes extends Category {
|
||
|
|
||
|
@Override
|
||
|
public int calcValueFromAmount() {
|
||
|
this.value = this.amount * 3;
|
||
|
return this.value;
|
||
|
}
|
||
|
}
|