mirror of
https://github.com/macocianradu/javaGUItoolkit.git
synced 2026-03-18 13:40:04 +00:00
26 lines
516 B
Java
26 lines
516 B
Java
package guiTree.Helper;
|
|
|
|
public class Debugger {
|
|
public enum Tag {
|
|
LISTENER(false),
|
|
PAINTING(false),
|
|
FPS(false),
|
|
ANIMATIONS(false),
|
|
PARSING(false);
|
|
|
|
public boolean value;
|
|
|
|
Tag(boolean value) {
|
|
this.value = value;
|
|
}
|
|
}
|
|
|
|
private static Timer timer = new Timer();
|
|
|
|
public static void log(String message, Tag tag) {
|
|
if(tag.value) {
|
|
System.out.println("[" + tag.toString() + "] " + message);
|
|
}
|
|
}
|
|
}
|