OpenTTD Source: TimerWindow Class Reference

OpenTTD Source 14.0-beta3

Data Structures | Public Types
TimerWindow Class Reference

Timer that represents the real time, usable for the Window system. More...

`#include <timer_window.h>`

## Data Structures
struct | TStorage

## Public Types
using | TPeriod = std::chrono::milliseconds
using | TElapsed = std::chrono::milliseconds

## Detailed Description

Timer that represents the real time, usable for the Window system.

This can be used to create intervals based on milliseconds, seconds, etc. Mostly used for animation, scrolling, etc.

Please be mindful that the order in which timers are called is not guaranteed.

Note
  The lowest possible interval is 1ms.
  These timers can only be used in the Window system.

Definition at line 26 of file timer_window.h.

The documentation for this class was generated from the following file:

- src/timer/timer_window.h