* Deduct \a dollars from the player funds. * @param dollars Amount of money spent. */
| 141 | * @param dollars Amount of money spent. |
| 142 | */ |
| 143 | void Micropolis::spend(int dollars) |
| 144 | { |
| 145 | setFunds(totalFunds - dollars); |
| 146 | } |
| 147 | |
| 148 | |
| 149 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected