DEADSOFTWARE

Show info in debug build
authorfred-boy <fredboy@protonmail.com>
Mon, 23 Dec 2019 07:53:17 +0000 (14:53 +0700)
committerfred-boy <fredboy@protonmail.com>
Mon, 23 Dec 2019 07:53:17 +0000 (14:53 +0700)
android/src/ru/deadsoftware/cavedroid/AndroidLauncher.java

index 0851de431211c8580fd5c665e43e7568b89dbfde..51961b4c3854840a88090256e2415e232698744c 100644 (file)
@@ -20,6 +20,10 @@ public class AndroidLauncher extends AndroidApplication {
             exit();
         }
         initialize(new CaveGame(gameFolder, true), config);
+
+        if (BuildConfig.DEBUG) {
+            GameScreen.SHOW_DEBUG = true;
+        }
     }
 
     @Override