MCPcopy Create free account
hub / github.com/EasyRPG/Player / GetX

Method GetX

src/game_map.cpp:2052–2054  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2050}
2051
2052int Game_Map::Parallax::GetX() {
2053 return (-panorama.pan_x / TILE_SIZE) / 2;
2054}
2055
2056int Game_Map::Parallax::GetY() {
2057 return (-panorama.pan_y / TILE_SIZE) / 2;

Callers 7

SetupMethod · 0.45
CanEmbarkShipMethod · 0.45
CanDisembarkShipMethod · 0.45
GetEncountersAtMethod · 0.45
OnEncounterEndFunction · 0.45
PrepareEncounterMethod · 0.45
SetupBattleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected