void HandleGossipStats(Gossip gossip) { Sprite factionSprite; _factionSymbolList.TryGetValue(gossip.Faction, out factionSprite); GossipFactionSymbol.color = Color.white; GossipFactionSymbol.sprite = factionSprite; GossipNameText.text = gossip.Name(); GossipDescriptionText.text = gossip.DescriptionText; //To Do: Make gossip items generate description text properly GossipEffectText.text = gossip.PoliticalEffectDescriptionText(); FreshnessSlider.value = gossip.Freshness; GossipValue.text = "£" + gossip.LivreValue().ToString("### ###"); }
void DisplayGossip(Gossip gossip) { _gossip = gossip; GossipValue.text = "£" + _gossip.LivreValue().ToString("### ###"); }