Ejemplo n.º 1
0
 /*********
 ** Public methods
 *********/
 public static void TimeEvents_AfterDayStarted(object s, EventArgs e)
 {
     ModEntry.UpdateConditionalEdits();
     if (Game1.dayOfMonth == 1)
     {
         ModEntry.UpdateTilesheets();
     }
 }
Ejemplo n.º 2
0
 /// <summary>Raised after the game begins a new day (including when the player loads a save).</summary>
 /// <param name="sender">The event sender.</param>
 /// <param name="e">The event arguments.</param>
 private static void OnDayStarted(object sender, DayStartedEventArgs e)
 {
     ModEntry.UpdateConditionalEdits();
     if (Game1.dayOfMonth == 1)
     {
         ModEntry.UpdateTilesheets();
     }
 }