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

Method GetY

src/game_map.cpp:2056–2058  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2054}
2055
2056int Game_Map::Parallax::GetY() {
2057 return (-panorama.pan_y / TILE_SIZE) / 2;
2058}
2059
2060void Game_Map::Parallax::Initialize(int width, int height) {
2061 parallax_width = width;

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