Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Game::Game() : gameName("Platformer"),
- gameWindow(sf::VideoMode(graphics.getWindowWidth(), graphics.getWindowHeight()), gameName) {
- //graphics.setWindowWidth(800);
- //graphics.setWindowHeight(600);
- //gameName = "Platformer";
- //gameWindow.create(sf::VideoMode(graphics.getWindowWidth(), graphics.getWindowHeight()), gameName);
- gamePlayer.setRadius(40.f);
- gamePlayer.setPosition(400.f, 300.f);
- gamePlayer.setFillColor(sf::Color::Red);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement