newest libgdx code for update-1