v1.1.2: added an option to override silent mode on iOS

This commit is contained in:
Evan Debenham
2022-01-06 12:38:57 -05:00
parent cc221bc089
commit b7119acd3e
5 changed files with 91 additions and 6 deletions

View File

@@ -43,6 +43,10 @@ public abstract class PlatformSupport {
Gdx.input.vibrate( millis );
}
public void setHonorSilentSwitch( boolean value ){
//does nothing by default
}
//TODO should consider spinning this into its own class, rather than platform support getting ever bigger
protected static HashMap<FreeTypeFontGenerator, HashMap<Integer, BitmapFont>> fonts;