SDL Minigame  1.0
Loading...
Searching...
No Matches
Game Class Reference
Collaboration diagram for Game:
[legend]

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 CollisionHandlercollisionHandler = new CollisionHandler(manager)
 
static AssetManagerassets = new AssetManager(&manager)
 
static TextureManagertextureManager = new TextureManager()
 
static SoundManagersoundManager = new SoundManager()
 

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