|
SDL Minigame
1.0
|
Public Member Functions | |
| void | init (const char *title, int xpos, int ypos, int width, int height, bool fullscreen) |
| void | selectCharacters (const char *&playerSprite, const char *&enemySprite) |
| void | handleEvents () |
| void | update () |
| void | render () |
| void | clean () |
| bool | running () const |
| void | refreshPlayers () |
| Entity::TeamLabel | getWinner () const |
Static Public Member Functions | |
| static void | addTile (unsigned long id, int x, int y) |
Static Public Attributes | |
| static SDL_Renderer * | renderer = nullptr |
| static SDL_Event | event |
| static CollisionHandler * | collisionHandler = new CollisionHandler(manager) |
| static AssetManager * | assets = new AssetManager(&manager) |
| static TextureManager * | textureManager = new TextureManager() |
| static SoundManager * | soundManager = new SoundManager() |