Ejemplo n.º 1
0
 public void SendTurnData(string playerAction)
 {
     if (playerAction == null)
     {
         playerAction = MessageConstants.PlayerActionNone;
     }
     NetworkCommunications.SendData(playerAction);
 }
Ejemplo n.º 2
0
 public string ReceiveGameState()
 {
     return(NetworkCommunications.ReceiveData());
 }