package com.pqbyte.coherence;

import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.Screen;

public class Coherence extends ApplicationAdapter {
	SpriteBatch batch;
	Texture img;
	public BitmapFont font;
//MainMenuScreen mscreen = new MainMenuScreen();
	
	@Override
	public void create () {
		batch = new SpriteBatch();
		font = new BitmapFont();
		//this.setScreen(new MainMenuScreen(this);
		img = new Texture("badlogic.jpg");
	}

	@Override
	public void render () {
		super.render();
		Gdx.gl.glClearColor(1, 0, 0, 1);
		Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
		batch.begin();
		batch.draw(img, 0, 0);
		batch.end();
	}
}

@@ -28,242 +28,8 @@
 e;%0A%0A
-import com.badlogic.gdx.ApplicationAdapter;%0Aimport com.badlogic.gdx.Gdx;%0Aimport com.badlogic.gdx.graphics.GL20;%0Aimport com.badlogic.gdx.graphics.Texture;%0Aimport com.badlogic.gdx.graphics.g2d.SpriteBatch;%0Aimport com.badlogic.gdx.Game;%0A
 impo
@@ -147,22 +147,20 @@
 gic.gdx.
-Screen
+Game
 ;%0A%0Apubli
@@ -189,30 +189,24 @@
 nds 
-ApplicationAdapter %7B%0A%09
+Game %7B%0A  public 
 Spri
@@ -224,23 +224,10 @@
 ch;%0A
-%09Texture img;%0A%09
+  
 publ
@@ -250,60 +250,11 @@
 nt;%0A
-//MainMenuScreen mscreen = new MainMenuScreen();%0A%09%0A%09
+%0A  
 @Ove
@@ -251,33 +251,34 @@
 t;%0A%0A  @Override%0A
-%09
+  
 public void crea
@@ -279,24 +279,25 @@
 d create
- 
 () %7B%0A
-%09%09
+    
 batch = 
@@ -315,18 +315,20 @@
 atch();%0A
-%09%09
+    
 font = n
@@ -348,12 +348,12 @@
 ();%0A
-%09%09//
+    
 this
@@ -391,52 +391,18 @@
 his)
+)
 ;%0A
-%09%09img = new Texture(%22badlogic.jpg%22);%0A%09%7D%0A%0A%09
+  %7D%0A%0A  
 @Ove
@@ -407,17 +407,18 @@
 verride%0A
-%09
+  
 public v
@@ -425,175 +425,64 @@
 oid 
-render () %7B%0A%09%09super.render();%0A%09%09Gdx.gl.glClearColor(1, 0, 0, 1);%0A%09%09Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);%0A%09%09batch.begin();%0A%09%09batch.draw(img, 0, 0);%0A%09%09batch.end
+dispose() %7B%0A    batch.dispose();%0A    font.dispose
 ();%0A
-%09
+  
 %7D%0A%7D%0A
+%0A

Change Coherence2 to Coherence