From 4c99cca7ffde700e3f45f61d783cb7da7abb84c4 Mon Sep 17 00:00:00 2001 From: Minjae Song Date: Sun, 12 May 2019 17:20:22 +0900 Subject: [PATCH] internal test mode --- FontTestGDX/src/FontTestGDX.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/FontTestGDX/src/FontTestGDX.kt b/FontTestGDX/src/FontTestGDX.kt index 87a7c57..b877a84 100644 --- a/FontTestGDX/src/FontTestGDX.kt +++ b/FontTestGDX/src/FontTestGDX.kt @@ -22,9 +22,10 @@ class FontTestGDX : Game() { lateinit var camera: OrthographicCamera + private val testing = true - private val demotextName = "demotext.txt" - private val outimageName = "demo.png" + private val demotextName = if (testing) "testtext.txt" else "demotext.txt" + private val outimageName = if (testing) "testing.png" else "demo.png" override fun create() { font = GameFontBase("./assets", flipY = false, errorOnUnknownChar = false) // must test for two flipY cases