v0.2.3e: added setting in options menu for double quickslot

This commit is contained in:
Evan Debenham
2015-01-21 14:02:01 -05:00
parent f68f8732b4
commit 81a588e386
3 changed files with 19 additions and 1 deletions
@@ -217,6 +217,10 @@ public class ShatteredPixelDungeon extends Game {
public static int challenges() {
return Preferences.INSTANCE.getInt( Preferences.KEY_CHALLENGES, 0 );
}
public static void quickSlots( int value ){ Preferences.INSTANCE.put( Preferences.KEY_QUICKSLOTS, value ); }
public static int quickSlots(){ return Preferences.INSTANCE.getInt( Preferences.KEY_QUICKSLOTS, 1); }
public static void intro( boolean value ) {
Preferences.INSTANCE.put( Preferences.KEY_INTRO, value );