SUPER Space invader : Turbo edition DX - VS GOD 1.0.0
A simple space invader ripoff
pixelManager.cpp
Go to the documentation of this file.
2
3
4void PixelManager::loadSprites(vector<Task>& tasks){
9}
10
12 window.clearScreen();
13}
14
16 window.finishFrame();
17}
18
20 return window.getWindowSize().getY();
21}
22
24 return window.getWindowSize().getX();
25}
void startFrame() const
clear the screen for a new frame
virtual void loadSprites(vector< Task > &tasks)
loads sprites in parallel using multiple threads
Definition: pixelManager.cpp:4
MySprite menuBackground
sprite of the background during menu
Definition: pixelManager.h:68
MySprite rightHand
sprite of the right hand of god
Definition: pixelManager.h:78
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
Definition: pixelManager.h:63
MinGL & window
display window
Definition: pixelManager.h:51
MySprite gameBackground
sprite of the background during gameplay
Definition: pixelManager.h:73
Manages screen display.
#define ADD_SPRITE_TASK(X)
Definition: pixelManager.h:43