public void removeLeemon() { if (Leemons.Count != 0) { Leemons.RemoveAt(Leemons.Count - 1); Money += LEEMON_PRICE; } }
public void addLeemon() { if (Money >= LEEMON_PRICE) { Leemons.Add(new Leemon("Yellow Leemon", LEEMON_PRICE)); Money -= LEEMON_PRICE; } }