public void removeIce() { if (Ice.Count != 0) { Ice.RemoveAt(Ice.Count - 1); Money += ICE_PRICE; } }
public void addIce() { if (Money >= ICE_PRICE) { Ice.Add(new Ice("Ice", ICE_PRICE)); Money -= ICE_PRICE; } }