moved from slick to libgdx