Advertisement
Guest User

Untitled

a guest
Nov 25th, 2015
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. #include "Game.h"
  2. #include <SFML/Graphics.hpp>
  3. #include <iostream>
  4.  
  5. Game::Game()
  6. {  
  7.     window.create(sf::VideoMode(640, 480), "SFML");
  8.     run();
  9. }
  10.  
  11. void Game::run()
  12. {
  13.     while (window.isOpen())
  14.     {
  15.         std::cout << "TEST" << std::endl;
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement