Skip to content
Permalink
Browse files

changed app name to Chamberwell, and made default sensitivity 35% ins…

…tead of 50%
  • Loading branch information...
AlexDFischer committed Jan 16, 2017
1 parent 9982b2d commit fb9bbac66c5c0bec8972db71e224fa5bd3e519a8
@@ -45,10 +45,10 @@ protected void onCreate(Bundle savedInstanceState)
Static.prefEditor.apply(); // we don't actually need to do this, just so we don't get a warning for calling edit() without commit() or apply()

// sensitivity setup
int sensitivity = Static.pref.getInt(Static.sensitivityString, 50);
int sensitivity = Static.pref.getInt(Static.sensitivityString, Static.DEFAULT_SENSITIVITY);
Static.setSensitivity(sensitivity);

// back button pausing.unpausing setup
// back button pausing/unpausing setup
Static.backButtonPauses = Static.pref.getBoolean(Static.backPauseString, true);
}

@@ -37,6 +37,7 @@ static void setSensitivity(int sensitivity)
}

static final String sensitivityString = "sensitivity", backPauseString = "backButtonPauses";
static final int DEFAULT_SENSITIVITY = 35;

static SharedPreferences pref;
static SharedPreferences.Editor prefEditor;
@@ -1,5 +1,5 @@
<resources>
<string name="app_name">Maxwell\'s Demon</string>
<string name="app_name">Chamberwell</string>
<string name="play_button">Play</string>
<string name="settings_button">Settings</string>
<string name="about_button">About</string>

0 comments on commit fb9bbac

Please sign in to comment.
You can’t perform that action at this time.