Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "Game.h"
- #include <SFML/Graphics.hpp>
- #include <iostream>
- Game::Game()
- {
- window.create(sf::VideoMode(640, 480), "SFML");
- run();
- }
- void Game::run()
- {
- while (window.isOpen())
- {
- std::cout << "TEST" << std::endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement