Exemplo n.º 1
0
        public void Marry()
        {
            if (null == FianceeList || 0 == FianceeList.Count)
            {
                return;
            }
            Spend(6);
            var newWife = FianceeList.Pop();

            if (_wifeList.Count >= 7)
            {
                throw new TooManyWivesException();
            }
            _wifeList.Add(newWife);
            Earn(newWife.Dowry);
            Location.MarryAt();
        }
Exemplo n.º 2
0
 public void Affiance(IWife newWife)
 {
     FianceeList.Add(newWife);
     SingleLadiesList.Remove(newWife);
     newWife.Player = this;
 }