debug Anzeig auskommentiert

This commit is contained in:
Armin Benz 2017-04-14 21:36:35 +02:00
parent 25fe22da77
commit 87e95ba645
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ import com.badlogic.gdx.audio.Music;
import de.samdev.colorrunner.screens.menu.SplashScreen;
public class CRGame extends Game {
public final static boolean DEBUG = true;
public final static boolean DEBUG = false;
public static AssetManager manager;
@Override

View File

@ -99,10 +99,10 @@ public abstract class AbstractGameRenderer {
protected void renderDebug(String s) {
Vector3 coords = cam.unproject(new Vector3(10, 10, 0));
font.draw(fontBatch, s, coords.x, coords.y - debugTextCount++ * 20);
// font.draw(fontBatch, s, coords.x, coords.y - debugTextCount++ * 20);
}
protected void renderHud(String s, int xCoord){
Vector3 coords = cam.unproject(new Vector3(10, 10, 0));
//Vector3 coords = cam.unproject(new Vector3(10, 10, 0));
if (hudTextCount == 0)
font2.setColor(Color.RED);
if (hudTextCount == 1)