public void PlanetToBuy(Speech planetName, string characterName) { Console.WriteLine("These are what I have to sell to you, {characterName}"); // Console.WriteLine(planetName.PlanetGoodyBags.quantity(PlanetName)); }
public void quantity(Speech PlanetName) { //Console.WriteLine($"These are what {PlanetName} has to offer you in trade :\ngold = {PlanetName.Gold}\nsilver = {PlanetName.Silver}\ncopper = {PlanetName.Copper}\nbronze = {PlanetName.Bronze}\nbrass = {brass}"); }