simple aabb game engine written in c++