iOS fixes

This commit is contained in:
Anuken
2018-04-27 23:42:59 -04:00
parent d8d8552176
commit 8cc3a865e2
11 changed files with 102 additions and 69 deletions

View File

@@ -25,7 +25,8 @@ public class Vars{
public static final boolean testAndroid = false;
//shorthand for whether or not this is running on android
public static final boolean android = (Gdx.app.getType() == ApplicationType.Android) || testAndroid;
public static final boolean android = (Gdx.app.getType() == ApplicationType.Android) ||
Gdx.app.getType() == ApplicationType.iOS|| testAndroid;
//shorthand for whether or not this is running on GWT
public static final boolean gwt = (Gdx.app.getType() == ApplicationType.WebGL);
//whether to send block state change events to players