For a simple 2D game engine