Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. Game::Game(){
  2. graphics.setWindowWidth(800);
  3. graphics.setWindowHeight(600);
  4. gameName = "Platformer";
  5. //gameWindow.create(sf::VideoMode(graphics.getWindowWidth(), graphics.getWindowHeight()), gameName);
  6. gameWindow(sf::VideoMode(graphics.getWindowWidth(), graphics.getWindowHeight()), gameName);
  7. gamePlayer.setRadius(40.f);
  8. gamePlayer.setPosition(400.f, 300.f);
  9. gamePlayer.setFillColor(sf::Color::Red);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement