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

Method setFunds

MicropolisCore/src/MicropolisEngine/src/stubs.cpp:156–160  ·  view source on GitHub ↗

* Set player funds to \a dollars. * * Modify the player funds, and warn the front-end about the new amount of * money. * @param dollars New value for the player funds. */

Source from the content-addressed store, hash-verified

154 * @param dollars New value for the player funds.
155 */
156void Micropolis::setFunds(int dollars)
157{
158 totalFunds = dollars;
159 updateFunds();
160}
161
162
163/**

Callers 2

__init__Method · 0.95
loadInitialCityMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected