20 return window.getWindowSize().getY();
24 return window.getWindowSize().getX();
void startFrame() const
clear the screen for a new frame
virtual void loadSprites(vector< Task > &tasks)
loads sprites in parallel using multiple threads
MySprite menuBackground
sprite of the background during menu
MySprite rightHand
sprite of the right hand of god
void endFrame() const
finish a frame render
unsigned getScreenHeight() const
give the height of the screen
unsigned getScreenWidth() const
give the width of the screen
MySprite logo
sprite of the logo of the game
MinGL & window
display window
MySprite gameBackground
sprite of the background during gameplay
#define ADD_SPRITE_TASK(X)