added display for player stats

This commit is contained in:
2025-11-30 02:36:31 +01:00
parent 9970ef687f
commit 587a852ffb
7 changed files with 123 additions and 59 deletions

View File

@@ -145,7 +145,7 @@ public class GamePanel extends JPanel implements Runnable {
long passed = drawEnd - drawStart;
// DEBUG
if(keyH.checkDrawTime) {
if(keyH.debug) {
graphics2d.setColor(Color.white);
graphics2d.drawString("Draw Time: " + passed, 10, 400);
graphics2d.drawString("FPS: " + fpsMeasure, 10, 400+tileSize);