diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-10-05 21:59:57 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-10-05 21:59:57 -0400 |
commit | 63fb4dbe8ae4d611c4854f863b9b29265e02fdee (patch) | |
tree | ceebeaa5739b04112f6efdc8fceabd17f8b6797c /src/SMAPI/Framework/Events/ModGameLoopEvents.cs | |
parent | 0530824cc2c573cae0a80f7def2b46bf8aeb9af9 (diff) | |
download | SMAPI-63fb4dbe8ae4d611c4854f863b9b29265e02fdee.tar.gz SMAPI-63fb4dbe8ae4d611c4854f863b9b29265e02fdee.tar.bz2 SMAPI-63fb4dbe8ae4d611c4854f863b9b29265e02fdee.zip |
tweak new event naming convention (#310)
Diffstat (limited to 'src/SMAPI/Framework/Events/ModGameLoopEvents.cs')
-rw-r--r-- | src/SMAPI/Framework/Events/ModGameLoopEvents.cs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/SMAPI/Framework/Events/ModGameLoopEvents.cs b/src/SMAPI/Framework/Events/ModGameLoopEvents.cs index 379a4e96..781597ef 100644 --- a/src/SMAPI/Framework/Events/ModGameLoopEvents.cs +++ b/src/SMAPI/Framework/Events/ModGameLoopEvents.cs @@ -10,24 +10,24 @@ namespace StardewModdingAPI.Framework.Events ** Accessors *********/ /// <summary>Raised after the game is launched, right before the first update tick.</summary> - public event EventHandler<GameLoopLaunchedEventArgs> Launched + public event EventHandler<GameLaunchedEventArgs> GameLaunched { - add => this.EventManager.GameLoop_Launched.Add(value); - remove => this.EventManager.GameLoop_Launched.Remove(value); + add => this.EventManager.GameLaunched.Add(value); + remove => this.EventManager.GameLaunched.Remove(value); } /// <summary>Raised before the game performs its overall update tick (≈60 times per second).</summary> - public event EventHandler<GameLoopUpdatingEventArgs> Updating + public event EventHandler<UpdateTickingEventArgs> UpdateTicking { - add => this.EventManager.GameLoop_Updating.Add(value); - remove => this.EventManager.GameLoop_Updating.Remove(value); + add => this.EventManager.UpdateTicking.Add(value); + remove => this.EventManager.UpdateTicking.Remove(value); } /// <summary>Raised after the game performs its overall update tick (≈60 times per second).</summary> - public event EventHandler<GameLoopUpdatedEventArgs> Updated + public event EventHandler<UpdateTickedEventArgs> UpdateTicked { - add => this.EventManager.GameLoop_Updated.Add(value); - remove => this.EventManager.GameLoop_Updated.Remove(value); + add => this.EventManager.UpdateTicked.Add(value); + remove => this.EventManager.UpdateTicked.Remove(value); } |