A simple 2D java game engine