Beispiel #1
0
 // Sent when attacking opponents cards
 public void sendCardAttack(int playerID, int attackersPosition, int attackedPosition)
 {
     NetworkManager.Send(
         CardAttackProtocol.Prepare(playerID, attackersPosition, attackedPosition),
         ProcessCardAttack);
 }
Beispiel #2
0
 public void TestAttack()
 {
     NetworkManager.Send(
         CardAttackProtocol.Prepare(matchID, attack, fieldPosition),
         ProcessCardAttack);
 }