A C++ library for 2D games