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

Method GetRuleData

MicropolisCore/src/CellEngine/src/cellengine.cpp:957–966  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

955
956
957const char *CellEngine::GetRuleData(
958 int i)
959{
960 if ((i < 0) ||
961 (i >= CountRules())) {
962 return NULL;
963 } // if
964
965 return ruleTables[(i << 1) + 1];
966}
967
968
969long CellEngine::DoPhysics()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected