Made a new gdx project and copied code