MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getCamera

Method getCamera

src/Battlescape/Map.cpp:1465–1468  ·  view source on GitHub ↗

* Gets the pointer to the camera. * @return Pointer to camera. */

Source from the content-addressed store, hash-verified

1463 * @return Pointer to camera.
1464 */
1465Camera *Map::getCamera()
1466{
1467 return _camera;
1468}
1469
1470/**
1471 * Timers only work on surfaces so we have to pass this on to the camera object.

Callers 15

thinkMethod · 0.80
initMethod · 0.80
initMethod · 0.80
thinkMethod · 0.80
cancelMethod · 0.80
thinkMethod · 0.80
playMovementSoundMethod · 0.80
initMethod · 0.80
handleAIMethod · 0.80
endTurnMethod · 0.80
popStateMethod · 0.80
handlePanickingUnitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected