backend stuffs in the Terrarum moved to the AppLoader

This commit is contained in:
minjaesong
2019-07-02 05:10:32 +09:00
parent 4c23cde4a9
commit 42dbaaa242
34 changed files with 214 additions and 252 deletions

View File

@@ -236,6 +236,8 @@ public class AppLoader implements ApplicationListener {
private static Screen currenScreen;
public static int screenW = 0;
public static int screenH = 0;
public static int halfScreenW = 0;
public static int halfScreenH = 0;
public static Texture textureWhiteSquare;
public static Texture textureWhiteCircle;
@@ -582,6 +584,9 @@ public class AppLoader implements ApplicationListener {
appConfig.width = screenW;
appConfig.height = screenH;
halfScreenW = screenW / 2;
halfScreenH = screenH / 2;
updateFullscreenQuad(screenW, screenH);
printdbg(this, "Resize end");