SDLGameEngine

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

Data Structures | Functions

# include/sgegamestate.h File Reference

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.

## Detailed Description

Game states and event handlers.

Definition in file sgegamestate.h.

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines