Пример #1
0
        public void SubmitVisitSummary(AncestralVisitSummary summary)
        {
            double sumApprovals = summary.visitHistories.Sum(p => p.ApprovalDelta);

            this.UpdateHistory(sumApprovals);
            if (sumApprovals > 0)
            {
                Messages.Message("Your Ancestors have concluded their visit. They were pleased.",
                                 MessageSound.Negative);
            }
            else
            {
                Messages.Message("Your Ancestors have concluded their visit. They were not impressed.",
                                 MessageSound.Negative);
            }
        }
Пример #2
0
 public void Notify_VisitEnded(AncestralVisitSummary summary)
 {
     this.approval.SubmitVisitSummary(summary);
 }
Пример #3
0
        private void SubmitApprovalChanges()
        {
            var summary = new AncestralVisitSummary(this.visitors, this.visitInfoMap);

            AncestorUtils.GetMapComponent().Notify_VisitEnded(summary);
        }