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

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

            return(total);
        }
Exemplo n.º 2
0
 protected override ICollection <SimDescription> GetTargets(SimDescription sim)
 {
     return(Friends.FindExistingFriendFor(this, sim));
 }