2d game engine using SFML