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)); }
public override void ReceiveAttack(AngryInfo aAngryInfo) { }
public virtual void ReceiveAttack(AngryInfo aAngryInfo) { myQueuedAngryBlocks.Add(aAngryInfo); }