Woo, LibGDX has an adapter class for this.