* Sets the camera's scrolling timer. * @param mouse Pointer to mouse timer. * @param key Pointer to key timer. */
| 57 | * @param key Pointer to key timer. |
| 58 | */ |
| 59 | void 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. |