LibGDX API changes, see https://github.com/libgdx/libgdx/pull/2490
Merge pull request #908 from RotaruDan/apiChanges

LibGDX API changes, see https://github.com/libgdx/libgdx/pull/2490