private void engine_PlayerTurn(object sender, PlayerTurnEventArgs e) { string msg = e.EndTurnId + Message.DELIMETER + e.StartTurnId; comm.Send(new Message(Message.Type.Turn, Encoding.UTF8.GetBytes(msg)).ToBytes()); NewPlayerTurnMessage(e.EndTurnId, e.StartTurnId); }
private void OnPlayerTurn(PlayerTurnEventArgs e) { PlayerTurn(this, e); }
private void OnPlayerTurn(PlayerTurnEventArgs e) { PlayerTurn(this, e); }
private void engine_PlayerTurn(object sender, PlayerTurnEventArgs e) { string msg = e.EndTurnId + Message.DELIMETER + e.StartTurnId; comm.Send(new Message(Message.Type.Turn, Encoding.UTF8.GetBytes(msg)).ToBytes()); NewPlayerTurnMessage(e.EndTurnId, e.StartTurnId); }