MCPcopy Create free account
hub / github.com/SimHacker/micropolis / spend

Method spend

MicropolisCore/src/MicropolisEngine/src/stubs.cpp:143–146  ·  view source on GitHub ↗

* Deduct \a dollars from the player funds. * @param dollars Amount of money spent. */

Source from the content-addressed store, hash-verified

141 * @param dollars Amount of money spent.
142 */
143void Micropolis::spend(int dollars)
144{
145 setFunds(totalFunds - dollars);
146}
147
148
149/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected