debug styling

pull/1/head
Ivory 2023-01-03 00:19:28 -05:00
parent c44b321951
commit 1c926a8af4
1 changed files with 3 additions and 3 deletions

View File

@ -44,11 +44,11 @@ public class HadeanGame extends Game {
long allocated = runtime.totalMemory(); long allocated = runtime.totalMemory();
long max = runtime.maxMemory(); long max = runtime.maxMemory();
int left = 780; int left = 770;
int top = 10; int top = 10;
List<String> strings = new ArrayList<String>(); List<String> strings = new ArrayList<String>();
strings.add("=== [ DEBUG ] ==="); strings.add(" === [ DEBUG ] ===");
strings.add("FPS: " + Math.round(averageFPS) + "/" + measuredFPS + " | AVG/MEASURED"); strings.add("FPS: " + Math.round(averageFPS) + "/" + measuredFPS + " | AVG/MEASURED");
strings.add("Mouse: <" + App.mouseX + ", " + App.mouseY + ">"); strings.add("Mouse: <" + App.mouseX + ", " + App.mouseY + ">");
strings.add("MEMORY: " + (int)((allocated / (double)max) * 100) + "% (" + (allocated / (1024 * 1024)) + "/" + (max / (1024 * 1024)) + "MB)"); strings.add("MEMORY: " + (int)((allocated / (double)max) * 100) + "% (" + (allocated / (1024 * 1024)) + "/" + (max / (1024 * 1024)) + "MB)");