@ -19,8 +19,6 @@ Game::Game()
int Game::run()
{
clock = std::make_unique<sf::Clock>();
// On the game loop
while (main_window.isOpen())
@ -19,7 +19,6 @@ private:
std::unique_ptr<Level> level;
// SFML entities
std::unique_ptr<sf::Clock> clock;
sf::RenderWindow main_window;
/// Convert pressed key into a game direction