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

Method OnScreen

MicropolisCore/src/CellEngine/src/cellengine.cpp:545–552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543
544
545long CellEngine::OnScreen()
546{
547 return ((screenMem != NULL) &&
548 (x >= 0) &&
549 (y >= 0) &&
550 ((x + width) <= screenWidth) &&
551 ((y + height) <= screenHeight));
552}
553
554
555void CellEngine::Garble()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected