예제 #1
0
 public void SendMessage(string message)
 {
     Message mess = new Message(_name, DateTime.Now, message);
     _game.Opponent.RecieveMessage(mess);
     RecieveMessage(mess);
 }
예제 #2
0
 public void RecieveMessage(Message mess)
 {
     try
     {
         _callback.TransferMessage(mess);
     }
     catch (Exception) { };
 }