Ejemplo n.º 1
0
        private void PushSharedGameState()
        {
            while (!_gameManager.SharedGameState.Board.Availability)
            {
            }
            PushSharedGameState pushInstruction = new PushSharedGameState()
            {
                SharedGameState = _gameManager.SharedGameState,
            };

            byte[] rawBytes = _protocol.ToLowerLayer(pushInstruction);
            this.Send(rawBytes);
        }
Ejemplo n.º 2
0
 public void Send(RemoteInstruction instruction)
 {
     byte[] rawBytes = _protocol.ToLowerLayer(instruction);
     this.Send(rawBytes);
 }