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