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

Method setScrollTimer

src/Battlescape/Camera.cpp:59–63  ·  view source on GitHub ↗

* Sets the camera's scrolling timer. * @param mouse Pointer to mouse timer. * @param key Pointer to key timer. */

Source from the content-addressed store, hash-verified

57 * @param key Pointer to key timer.
58 */
59void Camera::setScrollTimer(Timer *mouse, Timer *key)
60{
61 _scrollMouseTimer = mouse;
62 _scrollKeyTimer = key;
63}
64
65/**
66 * Sets the value to min if it is below min and to max if it is above max.

Callers 1

MapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected