예제 #1
0
 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));
 }
예제 #2
0
 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}");
 }