@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4" />
|
Before Width: | Height: | Size: 398 B |
Before Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 9.7 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 570 KiB |
After Width: | Height: | Size: 8.4 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 403 B |
After Width: | Height: | Size: 678 B |
After Width: | Height: | Size: 700 B |
After Width: | Height: | Size: 696 B |
After Width: | Height: | Size: 679 B |
After Width: | Height: | Size: 758 B |
After Width: | Height: | Size: 595 B |
After Width: | Height: | Size: 743 B |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 9.8 KiB |
After Width: | Height: | Size: 2.5 KiB |
@ -1,15 +0,0 @@
|
||||
package com.example.jmacro.util;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
|
||||
public class Logger {
|
||||
|
||||
public static void info(String log, Object... arg) {
|
||||
System.out.println(StrUtil.format(log, arg));
|
||||
}
|
||||
|
||||
public static void error(String log, Object... arg) {
|
||||
|
||||
System.err.println(StrUtil.format(log, arg));
|
||||
}
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package com.example.jmacro.wjdr;
|
||||
|
||||
import cn.hutool.core.date.DateTime;
|
||||
import cn.hutool.core.date.DateUtil;
|
||||
|
||||
public abstract class JGameThread implements Runnable {
|
||||
|
||||
protected JMacro jMacro;
|
||||
|
||||
public JGameThread(JMacro jMacro) {
|
||||
this.jMacro = jMacro;
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package com.example.jmacro.util;
|
||||
package com.example.jmacro.wjdr.util;
|
||||
|
||||
public class ColorUtil {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.example.jmacro.util;
|
||||
package com.example.jmacro.wjdr.util;
|
||||
|
||||
import cn.hutool.core.img.ImgUtil;
|
||||
|
@ -0,0 +1,27 @@
|
||||
package com.example.jmacro.wjdr.util;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
|
||||
public class Logger {
|
||||
|
||||
private static boolean isDebug = false;
|
||||
|
||||
public static void setDebug(boolean isDebug) {
|
||||
Logger.isDebug = isDebug;
|
||||
}
|
||||
|
||||
public static void debug(String log, Object... arg) {
|
||||
if (isDebug) {
|
||||
System.out.println(StrUtil.format(log, arg));
|
||||
}
|
||||
}
|
||||
|
||||
public static void info(String log, Object... arg) {
|
||||
System.out.println(StrUtil.format(log, arg));
|
||||
}
|
||||
|
||||
public static void error(String log, Object... arg) {
|
||||
|
||||
System.err.println(StrUtil.format(log, arg));
|
||||
}
|
||||
}
|