Beispiel #1
0
 public static void ReceiveLeftClick(int x, int y)
 {
     if (button != null && button.containsPoint(x, y))
     {
         StackLogic.StackToNearbyChests(ModEntry.Config.Radius);
     }
 }
Beispiel #2
0
 internal void ControlEvents_ControllerButtonPressed(object sender, EventArgsControllerButtonPressed args)
 {
     if (ControllerButton.HasValue && ControllerButton.Value.Equals(args.ButtonPressed))
     {
         StackLogic.StackToNearbyChests(ModEntry.Config.Radius);
     }
 }