public void SetInfo(Settlement s)
        {
            foreground.sprite  = s.getSprite();
            foreground.enabled = true;
            midground.enabled  = false;
            background.enabled = false;

            name.text = s.name;
            if (s.title != null && s.title.heldBy != null)
            {
                info.text = "Overseen by " + s.title.heldBy.getFullName();
            }
            else
            {
                info.text = "No Overseer";
            }

            info.text += "\n" + s.getPrestige().ToString("N0") + " prestige";

            name2.text = "";
            info2.text = "";
        }
Beispiel #2
0
 public TitleLanded(string titleM, string titleF, Settlement set)
 {
     this.titleM     = titleM;
     this.titleF     = titleF;
     this.settlement = set;
 }