diff options
author | Zoryn <Zoryn4163@users.noreply.github.com> | 2016-03-21 02:29:16 -0400 |
---|---|---|
committer | Zoryn <Zoryn4163@users.noreply.github.com> | 2016-03-21 02:29:16 -0400 |
commit | f09fbc87831268a518a7a648a51bfd1170d2ff6d (patch) | |
tree | 1084b95715d7d4f29fea4955e36e3c19d6dc5948 /StardewModdingAPI/Events/Game.cs | |
parent | 32387c1d791b83a858ecc3c8e79b16790dff4ef9 (diff) | |
parent | 05e26c5c84ef09bbe5b3e708a2188ae61ef35355 (diff) | |
download | SMAPI-f09fbc87831268a518a7a648a51bfd1170d2ff6d.tar.gz SMAPI-f09fbc87831268a518a7a648a51bfd1170d2ff6d.tar.bz2 SMAPI-f09fbc87831268a518a7a648a51bfd1170d2ff6d.zip |
Merge pull request #40 from Zoryn4163/master
adds first tick update
Diffstat (limited to 'StardewModdingAPI/Events/Game.cs')
-rw-r--r-- | StardewModdingAPI/Events/Game.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/StardewModdingAPI/Events/Game.cs b/StardewModdingAPI/Events/Game.cs index 60531dd8..ac630ba9 100644 --- a/StardewModdingAPI/Events/Game.cs +++ b/StardewModdingAPI/Events/Game.cs @@ -11,6 +11,7 @@ namespace StardewModdingAPI.Events public static event EventHandler GameLoaded = delegate { };
public static event EventHandler Initialize = delegate { };
public static event EventHandler LoadContent = delegate { };
+ public static event EventHandler FirstUpdateTick = delegate { };
/// <summary>
/// Fires every update (1/60 of a second)
/// </summary>
@@ -110,5 +111,10 @@ namespace StardewModdingAPI.Events {
OneSecondTick.Invoke(null, EventArgs.Empty);
}
+
+ public static void InvokeFirstUpdateTick()
+ {
+ FirstUpdateTick.Invoke(null, EventArgs.Empty);
+ }
}
}
|