예제 #1
0
 /// <summary>
 /// Handle clicking of the fridge icons.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void OnButtonPressed(object sender, ButtonPressedEventArgs e)
 {
     if (!Context.IsWorldReady)
     {
         return;
     }
     if (e.Button == SButton.MouseLeft)
     {
         ChestController.HandleClick(e.Cursor);
     }
 }