static public void SendMyRegards(AngryInfo aAngryInfo)
 {
     foreach (var toAttackIndex in myPlayers[aAngryInfo.mySendingPlayer].myAttackOrder)
     {                                                           //remove this to test attacks vvvvvvv
         if (myPlayers[toAttackIndex].CanBeAttacked() == true && aAngryInfo.mySendingPlayer != toAttackIndex)
         {
             myPlayers[toAttackIndex].ReceiveAttack(aAngryInfo);
             break;
         }
     }
 }
 public override void ReceiveAttack(AngryInfo aAngryInfo)
 {
     myQueuedAngryBlocks.Add(aAngryInfo);
     NetPoster.Instance.PostMessage(new AngryBlockMessage(aAngryInfo, myPlayerInfo.myPlayerIndex));
 }
Example #3
0
 public override void ReceiveAttack(AngryInfo aAngryInfo)
 {
 }
Example #4
0
 public virtual void ReceiveAttack(AngryInfo aAngryInfo)
 {
     myQueuedAngryBlocks.Add(aAngryInfo);
 }