debug Anzeig auskommentiert
This commit is contained in:
parent
25fe22da77
commit
87e95ba645
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user