/// <summary>When a menu is open (<see cref="Game1.activeClickableMenu"/> isn't null), raised after that menu is drawn to the sprite batch but before it's rendered to the screen.</summary>
 /// <param name="sender">The event sender.</param>
 /// <param name="e">The event data.</param>
 private void OnRenderedActiveMenu(object sender, RenderedActiveMenuEventArgs e)
 {
     if (!Context.IsWorldReady)
     {
         return;
     }
     _handler.DrawFridge();
 }
Пример #2
0
 private void Draw(object sender, EventArgs e)
 {
     if (!Context.IsWorldReady)
     {
         return;
     }
     _handler.DrawFridge();
 }