SuperSpaceInvaderTurboApoca.../src/pixelManager/pixelManager.cpp
2022-01-11 15:13:01 +01:00

25 lines
523 B
C++

#include "pixelManager/pixelManager.h"
void PixelManager::loadSprites(vector<Task>& tasks){
ADD_SPRITE_TASK(logo)
ADD_SPRITE_TASK(menuBackground)
ADD_SPRITE_TASK(gameBackground)
ADD_SPRITE_TASK(rightHand)
}
void PixelManager::startFrame() const {
window.clearScreen();
}
void PixelManager::endFrame() const {
window.finishFrame();
}
unsigned PixelManager::getScreenHeight() const {
return window.getWindowSize().getY();
}
unsigned PixelManager::getScreenWidth() const {
return window.getWindowSize().getX();
}