MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / setEntityPosition

Method setEntityPosition

src/OpenLoco/src/Paint/Paint.cpp:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 }
48
49 void PaintSession::setEntityPosition(const World::Pos2& pos)
50 {
51 _spritePositionX = pos.x;
52 _spritePositionY = pos.y;
53 }
54 void PaintSession::setMapPosition(const World::Pos2& pos)
55 {
56 _mapPosition = pos;

Callers 4

paintVoidFunction · 0.80
paintConstructionArrowFunction · 0.80
paintTileElementsSetupFunction · 0.80
paintEntitiesWithFilterFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected