An 2D RPG engine in C++