public PartyManager GetPartyManagerFromECommander(ECommanders General)
 {
     foreach (var Gen in GeneralMembers)
     {
         if (Gen.GeneralCommander == General)
         {
             return(Gen);
         }
     }
     return(null);
 }
        public int GetGeneralPlayerCount(ECommanders General)
        {
            int playerCount = 0;

            AllyMember[] Allies = GameObject.FindObjectsOfType <AllyMember>();
            foreach (var Ally in Allies)
            {
                if (Ally.GeneralCommander == General)
                {
                    playerCount++;
                }
            }
            return(playerCount);
        }
        public int GetAllyGeneralPlayerCount(AllyMember teamMember)
        {
            int         playerCount = 0;
            ECommanders General     = teamMember.GeneralCommander;

            AllyMember[] allies = GameObject.FindObjectsOfType <AllyMember>();
            foreach (var ally in allies)
            {
                if (ally.GeneralCommander == General)
                {
                    playerCount++;
                }
            }
            return(playerCount);
        }
 public virtual void CallGameOverEvent(ECommanders callingCommander)
 {
 }