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