/// <summary> /// Buy an amount of the selected item from the merchant /// </summary> /// <param name="amount">The amount to buy</param> public void BuyItem(int amount = 1) { if (LedgerManager.ProcessBuy(_ship, _warehouse, GameState.assets, _itemList[_selectedItem].ware.id, amount)) { UpdateDisplay(); } }