Logo Search packages:      
Sourcecode: val-and-rick version File versions  Download package

abagames::util::sdl::mainloop::MainLoop Class Reference

List of all members.

Detailed Description

SDL main loop.

Definition at line 21 of file mainloop.d.

Public Member Functions

void breakLoop ()
void loop ()
 this (Screen screen, Input input, GameManager gameManager, PrefManager prefManager)

Public Attributes

int accframe = 0
SDL_Event event
int interval = INTERVAL_BASE
const int INTERVAL_BASE = 16
int maxSkipFrame = 5

Private Member Functions

void initFirst ()
void quitLast ()

Private Attributes

bool done
GameManager gameManager
Input input
PrefManager prefManager
Screen screen

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

Generated by  Doxygen 1.6.0   Back to index