Esempio n. 1
0
 private void EnemyBoard_OnCellMouseUp(object sender, SeaBoard.SeaBoardCellEventArgs e)
 {
     if (this.GameState == LocalGameState.MY_TURN && e.Cell.Value == SeaCellState.SEA)
     {
         ProtoClient.FireAt(e.Cell.X, e.Cell.Y);
         this.GameState = LocalGameState.FIRED_WAIT;
     }
 }