private void Window_MouseDown(object sender, MouseButtonEventArgs e) { if (!canShot) { MessageBox.Show("It's not your turn!"); return; } int row = 0; int col = 0; GetClickCoordinates(out row, out col); gameClient.SendShot(row, col); }
private void Window_MouseDown(object sender, MouseButtonEventArgs e) { if (!canShot) { MessageBox.Show("It's not your turn!"); return; } int row = 0; int col = 0; GetClickCoordinates(out row, out col); gameClient.SendShot(row, col); }