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

Function cascade

MicropolisCore/src/CellEngine/src/cellengine.cpp:5428–5432  ·  view source on GitHub ↗

Return excited confluent state. */

Source from the content-addressed store, hash-verified

5426
5427/* Return excited confluent state. */
5428Byte cascade(Byte right, Byte up, Byte left, Byte down)
5429{
5430 return ( ((right == OLX) || (up == ODX) || (left == ORX) || (down == OUX)) &&
5431 !((right == OL) || (up == OD) || (left == OR) || (down == OU)) );
5432}
5433
5434
5435/* Return excited confluent state. */

Callers 1

n_jvn29Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected