@@ -0,0 +1,1650 @@
+package mainpackage.Screens;%0A%0Aimport mainpackage.Game;%0Aimport mainpackage.Player;%0A%0Aimport com.badlogic.gdx.Gdx;%0Aimport com.badlogic.gdx.Screen;%0Aimport com.badlogic.gdx.graphics.Color;%0Aimport com.badlogic.gdx.graphics.g2d.BitmapFont;%0Aimport com.badlogic.gdx.graphics.g2d.SpriteBatch;%0Aimport com.badlogic.gdx.graphics.glutils.ShapeRenderer;%0Aimport com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;%0A%0Apublic class GameScreen implements Screen %7B%0A%0A%09private Game game;%0A%09private SpriteBatch batch;%0A%09private BitmapFont font;%0A%09private Player player;%0A%0A%09public GameScreen(Game game, String select) %7B%0A%09%09super();%0A%09%09this.game = game;%0A%09%09player = new Player(select);%0A%09%09%0A%09%7D%0A%0A%0A%09@Override%0A%09public void render(float delta) %7B%0A%09%09ShapeRenderer s = new ShapeRenderer();%0A%09%09s.begin(ShapeType.Filled);%0A%0A%09%09// background%0A%09%09s.setColor(Color.BLACK);%0A%09%09s.rect(0, 0, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());%0A%0A%09%09s.end();%0A%0A%09%09batch.begin();%0A%0A%09%09font.setColor(Color.WHITE);%0A%09%09font.draw(batch, %22Game Screen%22, Gdx.graphics.getWidth() / 2 - 50,%0A%09%09%09%09Gdx.graphics.getHeight() - 50);%0A%09%09%0A%09%09player.render(batch);%0A%0A%09%09batch.end();%0A%0A%09%7D%0A%0A%09@Override%0A%09public void resize(int width, int height) %7B%0A%09%09// TODO Auto-generated method stub%0A%0A%09%7D%0A%0A%09@Override%0A%09public void show() %7B%0A%09%09batch = new SpriteBatch();%0A%09%09// System.out.println(%22batch created%22);%0A%0A%09%09font = new BitmapFont();%0A%0A%09%7D%0A%0A%09@Override%0A%09public void hide() %7B%0A%09%09// TODO Auto-generated method stub%0A%0A%09%7D%0A%0A%09@Override%0A%09public void pause() %7B%0A%09%09// TODO Auto-generated method stub%0A%0A%09%7D%0A%0A%09@Override%0A%09public void resume() %7B%0A%09%09// TODO Auto-generated method stub%0A%0A%09%7D%0A%0A%09@Override%0A%09public void dispose() %7B%0A%09%09// TODO Auto-generated method stub%0A%0A%09%7D%0A%0A%7D%0A

Create GameScreen.java