Trying to make a 2D game engine using SFML