| 55 | import java.util.function.Consumer; |
| 56 | |
| 57 | public class Forge implements ApplicationListener { |
| 58 | private static ApplicationListener app = null; |
| 59 | static Scene currentScene = null; |
| 60 | static Array<Scene> lastScene = new Array<>(); |
| 61 | private static float animationTimeout; |
| 62 | static Batch animationBatch; |
| 63 | static TextureRegion lastScreenTexture; |
| 64 | private static boolean sceneWasSwapped = false; |
| 65 | public static boolean advFreezePlayerControls = false; |
| 66 | private static Clipboard clipboard; |
| 67 | private static IDeviceAdapter deviceAdapter; |
| 68 | private static int screenWidth; |
| 69 | private static int screenHeight; |
| 70 | private static Graphics graphics; |
| 71 | private static FrameRate frameRate; |
| 72 | private static FScreen currentScreen; |
| 73 | private static ControllerListener controllerListener; |
| 74 | private static boolean hasGamepad = false; |
| 75 | private static boolean lastInputWasController = false; |
| 76 | public static Texture lastPreview = null; |
| 77 | protected static SplashScreen splashScreen; |
| 78 | protected static ClosingScreen closingScreen; |
| 79 | protected static TransitionScreen transitionScreen; |
| 80 | public static KeyInputAdapter keyInputAdapter; |
| 81 | private static boolean exited, initialized; |
| 82 | public boolean needsUpdate = false; |
| 83 | public static boolean switchClassic = false; |
| 84 | public static boolean advStartup = false; |
| 85 | public static boolean safeToClose = true; |
| 86 | public static boolean magnify = false; |
| 87 | public static boolean magnifyToggle = true; |
| 88 | public static boolean magnifyShowDetails = false; |
| 89 | public static String cursorName = ""; |
| 90 | private static int continuousRenderingCount = 1; //initialize to 1 since continuous rendering is the default |
| 91 | private static final Deque<FScreen> Dscreens = new ArrayDeque<>(); |
| 92 | private static boolean textureFiltering = false; |
| 93 | private static boolean destroyThis = false; |
| 94 | public static String extrawide = "default"; |
| 95 | public static float heigtModifier = 0.0f; |
| 96 | public static float deltaTime = 0f; |
| 97 | public static float hueFragTime = 0f; |
| 98 | private static boolean isloadingaMatch = false; |
| 99 | public static boolean autoAIDeckSelection = false; |
| 100 | public static boolean showFPS = false; |
| 101 | public static boolean allowCardBG = false; |
| 102 | public static boolean altPlayerLayout = false; |
| 103 | public static boolean altZoneTabs = false; |
| 104 | public static String altZoneTabMode = "Off"; |
| 105 | public static boolean animatedCardTapUntap = false; |
| 106 | public static String enableUIMask = "Crop"; |
| 107 | public static String selector = "Default"; |
| 108 | public static boolean isTabletDevice = false; |
| 109 | public static String locale = "en-US"; |
| 110 | public Assets assets; |
| 111 | public static boolean hdbuttons = false; |
| 112 | public static boolean hdstart = false; |
| 113 | public static boolean isPortraitMode = false; |
| 114 | public static boolean gameInProgress = false; |
nothing calls this directly
no outgoing calls
no test coverage detected