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