Exemplo n.º 1
0
        protected int GetTotalEnemies(Household house)
        {
            int total = 0;

            foreach (SimDescription sim in HouseholdsEx.All(house))
            {
                total += Friends.FindExistingEnemyFor(this, sim, -50, true).Count;
            }

            return(total);
        }