Beispiel #1
0
 private void MouseEvents_ButtonClicked(object sender, Starbound.Input.MouseButtonEventArgs e)
 {
     if (Client?.Player?.Tank != null && !Client.Player.Tank.Alive && e.Button == Starbound.Input.MouseButton.Left)
     {
         SpectateRandomTank();
     }
 }
Beispiel #2
0
 private void MouseEvents_ButtonClicked(object sender, Starbound.Input.MouseButtonEventArgs e)
 {
     UI_ProcessClickInGameArea(UI_MousePosition);
 }
Beispiel #3
0
 private void MouseEvents_ButtonDoubleClicked(object sender, Starbound.Input.MouseButtonEventArgs e)
 {
 }
Beispiel #4
0
 private void MouseEvents_ButtonReleased(object sender, Starbound.Input.MouseButtonEventArgs e)
 {
     UI_MouseReleased();
 }