자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public void BuyLemons() { Console.Write("How many lemons would you like to purchase?: "); int lemons = int.Parse(Console.ReadLine()); for (int i = 0; i <= lemons; i++) { player.inventory.playerLemons.Add(new Lemons()); } player.CalculateCostOfLemons(); Console.WriteLine(); }