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

Method SetPos

MicropolisCore/src/CellEngine/src/cellengine.cpp:487–497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485
486
487void CellEngine::SetPos(
488 long xx,
489 long yy)
490{
491 x = xx;
492 y = yy;
493 frontMem =
494 screenMem +
495 xx +
496 (screenRowBytes * yy);
497}
498
499
500void CellEngine::SetSize(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected