summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;