public void buyRing() { if (GameManager.Instance.gold >= 1000) { GameManager.Instance.gold -= 1000; inv.addItem(6); } }