All checks were successful
continuous-integration/drone/push Build is passing
23 lines
600 B
Java
23 lines
600 B
Java
package wtf.beatrice.autosqueal.util;
|
|
|
|
import wtf.beatrice.autosqueal.Main;
|
|
|
|
import java.awt.*;
|
|
|
|
public class RunnerUtil {
|
|
|
|
private RunnerUtil() {
|
|
throw new AssertionError("The RunnerUtil class is not intended to be instantiated.");
|
|
}
|
|
|
|
public static final int SECONDS_BETWEEN_MOVES = 10;
|
|
|
|
public static final int SCREEN_HEIGHT = Toolkit.getDefaultToolkit().getScreenSize().height;
|
|
public static final int SCREEN_WIDTH = Toolkit.getDefaultToolkit().getScreenSize().width;
|
|
|
|
public static boolean isSquealing() {
|
|
return Main.getMainWindow().isRunning();
|
|
}
|
|
|
|
}
|