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

Method getCost

MicropolisCore/src/MicropolisEngine/src/tool.h:172–175  ·  view source on GitHub ↗

* Get the total cost collected so far. * @return Total cost. */

Source from the content-addressed store, hash-verified

170 * @return Total cost.
171 */
172inline int ToolEffects::getCost() const
173{
174 return this->cost;
175}
176
177/**
178 * Add some amount to the total.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected