summaryrefslogtreecommitdiff
path: root/src/TrainerMod
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2016-11-14 20:11:05 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2016-11-14 20:11:05 -0500
commit9a36254e903c4b992710d82aacee80052aab3288 (patch)
tree4f73ca5a7553fbb1bf883858ecaa029362383d7b /src/TrainerMod
parent6d1afe7d5c77703a605da713e228cd2e337ea8ac (diff)
downloadSMAPI-9a36254e903c4b992710d82aacee80052aab3288.tar.gz
SMAPI-9a36254e903c4b992710d82aacee80052aab3288.tar.bz2
SMAPI-9a36254e903c4b992710d82aacee80052aab3288.zip
hide TrainerMod internals
Diffstat (limited to 'src/TrainerMod')
-rw-r--r--src/TrainerMod/Framework/Extensions.cs2
-rw-r--r--src/TrainerMod/TrainerMod.cs12
2 files changed, 7 insertions, 7 deletions
diff --git a/src/TrainerMod/Framework/Extensions.cs b/src/TrainerMod/Framework/Extensions.cs
index 705d09b7..da3a2f03 100644
--- a/src/TrainerMod/Framework/Extensions.cs
+++ b/src/TrainerMod/Framework/Extensions.cs
@@ -1,7 +1,7 @@
namespace TrainerMod.Framework
{
/// <summary>Provides extension methods on primitive types.</summary>
- public static class Extensions
+ internal static class Extensions
{
/*********
** Public methods
diff --git a/src/TrainerMod/TrainerMod.cs b/src/TrainerMod/TrainerMod.cs
index 5df1a0aa..5c8aa4ba 100644
--- a/src/TrainerMod/TrainerMod.cs
+++ b/src/TrainerMod/TrainerMod.cs
@@ -20,19 +20,19 @@ namespace TrainerMod
** Properties
*********/
/// <summary>The time of day at which to freeze time.</summary>
- public static int FrozenTime;
+ private static int FrozenTime;
/// <summary>Whether to keep the player's health at its maximum.</summary>
- public static bool InfiniteHealth;
+ private static bool InfiniteHealth;
/// <summary>Whether to keep the player's stamina at its maximum.</summary>
- public static bool InfiniteStamina;
+ private static bool InfiniteStamina;
/// <summary>Whether to keep the player's money at a set value.</summary>
- public static bool InfiniteMoney;
+ private static bool InfiniteMoney;
/// <summary>Whether to freeze time.</summary>
- public static bool FreezeTime;
+ private static bool FreezeTime;
/*********
@@ -72,7 +72,7 @@ namespace TrainerMod
}
/// <summary>Register all trainer commands.</summary>
- public static void RegisterCommands()
+ private static void RegisterCommands()
{
Command.RegisterCommand("types", "Lists all value types | types").CommandFired += TrainerMod.HandleTypes;