|
SDLGameEngine
|
Game states and event handlers. More...
Go to the source code of this file.
Data Structures | |
| struct | SGEGAMESTATEMANAGER |
| struct | SGEGAMESTATE |
Functions | |
| SGEGAMESTATEMANAGER * | sgeGameStateManagerNew (void) |
| Create a new state manager. | |
| int | sgeGameStateManagerChange (SGEGAMESTATEMANAGER *manager, SGEGAMESTATE *next_state) |
| Change to a new state. | |
| void | sgeGameStateManagerRun (SGEGAMESTATEMANAGER *manager, int fps) |
| Run the game with the current states, redrawing at certain frames per second. | |
| void | sgeGameStateManagerQuit (SGEGAMESTATEMANAGER *manager) |
| Quit the game state manager. | |
| SGEGAMESTATE * | sgeGameStateNew (void) |
| Create new game state. | |
Game states and event handlers.
Definition in file sgegamestate.h.