Updated for libGDX10