diff options
author | James Finlay <jtfinlay@ualberta.ca> | 2016-03-05 10:08:33 -0800 |
---|---|---|
committer | James Finlay <jtfinlay@ualberta.ca> | 2016-03-05 10:08:33 -0800 |
commit | 64a0552aeadaf1b22b546c0675e4d070b8b30291 (patch) | |
tree | 560540750c27d56b8efd3188ea436fb3a5d2ebfa /StardewInjector/Config.cs | |
parent | 9420dfb0719d7f00c36607a210c50dc4537a9626 (diff) | |
parent | b417604466da840c1f0a4e38aeb0f63ce28d2cdf (diff) | |
download | SMAPI-64a0552aeadaf1b22b546c0675e4d070b8b30291.tar.gz SMAPI-64a0552aeadaf1b22b546c0675e4d070b8b30291.tar.bz2 SMAPI-64a0552aeadaf1b22b546c0675e4d070b8b30291.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'StardewInjector/Config.cs')
-rw-r--r-- | StardewInjector/Config.cs | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/StardewInjector/Config.cs b/StardewInjector/Config.cs deleted file mode 100644 index cea45e98..00000000 --- a/StardewInjector/Config.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Configuration; -using System.Linq; -using System.Text; - -namespace StardewInjector -{ - public static class Config - { - public static bool EnableDebugMode - { - get - { - bool val = false; - bool.TryParse(ConfigurationManager.AppSettings["EnableDebugMode"], out val); - return val; - } - } - - public static bool EnableAlwaysSpawnFishingBubble - { - get - { - bool val = false; - bool.TryParse(ConfigurationManager.AppSettings["EnableAlwaysSpawnFishingBubble"], out val); - return val; - } - } - - public static bool EnableEasyFishing - { - get - { - bool val = false; - bool.TryParse(ConfigurationManager.AppSettings["EnableEasyFishing"], out val); - return val; - } - } - - public static int SecondsPerTenMinutes - { - get - { - int val = 7; - int.TryParse(ConfigurationManager.AppSettings["SecondsPerTenMinutes"], out val); - return val; - } - } - - public static float RunSpeed - { - get - { - float val = 1f; - float.TryParse(ConfigurationManager.AppSettings["RunSpeed"], out val); - return val; - } - } - - public static bool EnableTweakedDiagonalMovement - { - get - { - bool val = false; - bool.TryParse(ConfigurationManager.AppSettings["EnableTweakedDiagonalMovement"], out val); - return val; - } - } - - } -} |