Porting to LibGDX