Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AbyssEngine/AbyssEngineOld
/ getCameraPosition
Method
getCameraPosition
src/Abyss/MapEngine/MapEngine.cpp:177–180 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
175
}
176
177
void MapEngine::getCameraPosition(int &x, int &y) const {
178
x = _cameraPosition.x + 320;
179
y = _cameraPosition.y + 260;
180
}
181
182
void MapEngine::getMapSize(int &width, int &height) const {
183
width = _width;
Callers
2
processEvent
Method · 0.80
render
Method · 0.80
Calls
no outgoing calls
Tested by
2
processEvent
Method · 0.64
render
Method · 0.64