Merge fixes

This commit is contained in:
Anuken
2018-04-28 16:29:23 -04:00
parent e5f6b7f66c
commit 5b8ee48600
5 changed files with 6 additions and 34 deletions

View File

@@ -28,7 +28,7 @@ import java.util.Locale;
public class Vars{
public static final boolean testMobile = false;
//shorthand for whether or not this is running on android
//shorthand for whether or not this is running on android or ios
public static final boolean mobile = (Gdx.app.getType() == ApplicationType.Android) ||
Gdx.app.getType() == ApplicationType.iOS || testMobile;
public static final boolean ios = Gdx.app.getType() == ApplicationType.iOS;