Commited the Bank::setTax Method that was missing.
This commit is contained in:
parent
db58957c85
commit
2b2d4931fc
|
|
@ -25,4 +25,8 @@ int Bank::getMoney() {
|
|||
|
||||
void Bank::updateMoney() {
|
||||
money = std::round(money * (1+tax));
|
||||
}
|
||||
|
||||
void Bank::setTax(double value) {
|
||||
tax = value;
|
||||
}
|
||||
Loading…
Reference in New Issue