Revert "Fixes after changes in libgdx API"

This reverts commit 844bc3a03d7f5c8fa19c8d58bc93e8ca3c2983e7.
Merge pull request #213 from anserran/revertlibgdxfix

Revert "Fixes after changes in libgdx API"