2D GameEngine written in C++