Kniffel/domain/sheets/Twos.java

11 lines
188 B
Java
Raw Normal View History

package domain.sheets;
public class Twos extends Category {
@Override
public int calcValueFromAmount() {
this.value = this.amount * 2;
return this.value;
}
}