mirror of
https://github.com/macocianradu/javaGUItoolkit.git
synced 2026-03-18 21:50:04 +00:00
created location placer factory
made debugger changeable from outside the code made possible to add more converters Made changeable FPS in window
This commit is contained in:
@@ -2,7 +2,7 @@ package guiTree.Helper;
|
||||
|
||||
public class Debugger {
|
||||
public enum Tag {
|
||||
LISTENER(true),
|
||||
LISTENER(false),
|
||||
PAINTING(false),
|
||||
FPS(false),
|
||||
ANIMATIONS(false),
|
||||
@@ -10,6 +10,10 @@ public class Debugger {
|
||||
|
||||
public boolean value;
|
||||
|
||||
private void setValue(Boolean value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
Tag(boolean value) {
|
||||
this.value = value;
|
||||
}
|
||||
@@ -22,4 +26,8 @@ public class Debugger {
|
||||
System.out.println("[" + tag.toString() + "] " + message);
|
||||
}
|
||||
}
|
||||
|
||||
public void enableTag(Tag tag, Boolean value) {
|
||||
tag.setValue(value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user