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

Method evalInd

MicropolisCore/src/MicropolisEngine/src/zone.cpp:1015–1022  ·  view source on GitHub ↗

* Compute evaluation of an industrial zone. * @param traf Result if traffic attempt. * @return Evaluation value of the industrial zone. */

Source from the content-addressed store, hash-verified

1013 * @return Evaluation value of the industrial zone.
1014 */
1015short Micropolis::evalInd(int traf)
1016{
1017 if (traf < 0) {
1018 return -1000;
1019 }
1020
1021 return 0;
1022}
1023
1024
1025////////////////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected