Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
2052
int Game_Map::Parallax::GetX() {
2053
return (-panorama.pan_x / TILE_SIZE) / 2;
2054
}
2055
2056
int Game_Map::Parallax::GetY() {
2057
return (-panorama.pan_y / TILE_SIZE) / 2;
Callers
7
Setup
Method · 0.45
CanEmbarkShip
Method · 0.45
CanDisembarkShip
Method · 0.45
GetEncountersAt
Method · 0.45
OnEncounterEnd
Function · 0.45
PrepareEncounter
Method · 0.45
SetupBattle
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected