Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
2056
int Game_Map::Parallax::GetY() {
2057
return (-panorama.pan_y / TILE_SIZE) / 2;
2058
}
2059
2060
void Game_Map::Parallax::Initialize(int width, int height) {
2061
parallax_width = width;
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