Setting a game engine layer on top of Gdx's render loop.