gfm



abstract class  SDL2Timer;

SDL Timer wrapper.


this(SDL2 sdl2, uint intervalMs);

Create a new SDL timer.

See Also
https://wiki.libsdl.org/SDL_AddTimer
Throws
SDL2Exception on error.

const pure nothrow @nogc SDL_TimerID  id();

Returns
Timer ID.

protected abstract nothrow uint  onTimer(uint interval);

Override this to implement a SDL timer.