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

Method GetRuleName

MicropolisCore/src/CellEngine/src/cellengine.cpp:945–954  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

943
944
945const char *CellEngine::GetRuleName(
946 int i)
947{
948 if ((i < 0) ||
949 (i >= CountRules())) {
950 return NULL;
951 } // if
952
953 return ruleTables[i << 1];
954}
955
956
957const char *CellEngine::GetRuleData(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected