//member methods(CAN DO) public void SellCup() { if (pitcher.CheckPitcher(inventory) == true) { PourCup(); } if (pitcher.CheckPitcher(inventory) == false) { if (pitcher.CheckIfCanRefillPitcher(inventory) == true) { RefillPitcher(inventory); } } }