Example #1
0
 // Sent when attacking tree
 public void sendTreeAttack(int playerID, int fieldPosition)
 {
     NetworkManager.Send(
         TreeAttackProtocol.Prepare(playerID, fieldPosition),
         ProcessTreeAttack);
 }
Example #2
0
 public void TestTreeAttack()
 {
     NetworkManager.Send(
         TreeAttackProtocol.Prepare(matchID, attack),
         ProcessTreeAttack);
 }