Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurochi51 committed Sep 17, 2023
1 parent 6ff01f0 commit 5d01d50
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions TickTracker/Utilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public partial class Utilities
/// <summary>
/// A set of words that indicate regeneration
/// </summary>
public static readonly IEnumerable<string> RegenKeywords = new string[]
public static readonly IEnumerable<string> RegenKeywords = new[]
{
"regenerating",
"restoring",
Expand All @@ -30,7 +30,7 @@ public partial class Utilities
/// <summary>
/// A set of words that indicate an effect over time
/// </summary>
public static readonly IEnumerable<string> TimeKeywords = new string[]
public static readonly IEnumerable<string> TimeKeywords = new[]
{
"gradually",
"over time",
Expand All @@ -39,7 +39,7 @@ public partial class Utilities
/// <summary>
/// A set of words that indicate health
/// </summary>
public static readonly IEnumerable<string> HealthKeywords = new string[]
public static readonly IEnumerable<string> HealthKeywords = new[]
{
"hp",
"health",
Expand All @@ -48,7 +48,7 @@ public partial class Utilities
/// <summary>
/// A set of words that indicate mana
/// </summary>
public static readonly IEnumerable<string> ManaKeywords = new string[]
public static readonly IEnumerable<string> ManaKeywords = new[]
{
"mp",
"mana",
Expand All @@ -57,7 +57,7 @@ public partial class Utilities
/// <summary>
/// A set of words that indicate the halt of regen
/// </summary>
public static readonly IEnumerable<string> RegenNullKeywords = new string[]
public static readonly IEnumerable<string> RegenNullKeywords = new[]
{
"null",
"nullified",
Expand Down
6 changes: 3 additions & 3 deletions TickTracker/Windows/BarWindowBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ public abstract class BarWindowBase : Window
ImGuiWindowFlags.NoResize |
ImGuiWindowFlags.NoNav |
ImGuiWindowFlags.NoInputs;
public bool RegenHalted { get; set; } = false;
public bool FastTick { get; set; } = false;
public bool FastRegenSwitch { get; set; }
public bool RegenHalted { get; set; }
public bool FastTick { get; set; }
public bool CanUpdate { get; set; } = true;
public bool DelayedUpdate { get; set; } = true;
public bool FastRegenSwitch { get; set; } = false;
public double LastTick { get; set; } = 1;
public double PreviousProgress { get; set; } = -1;
public static readonly float ActorTickInterval = 3, FastTickInterval = 1.5f;
Expand Down

0 comments on commit 5d01d50

Please sign in to comment.