Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "screen.hpp"
- class PauseScreen : public Screen
- {
- public:
- PauseScreen(int sWidth, int sHeight) : Screen() {
- screenElements; {
- sf::RectangleShape fade(sf::Vector2f(sWidth, sHeight));
- fade.setOrigin(sWidth / 2, sHeight / 2);
- fade.setPosition(sWidth / 2, sHeight / 2);
- fade.setFillColor(sf::Color(0, 0, 0, 255 / 2));
- }
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement