public FacadeTeaCup makeACuppa() { FacadeTeaCup cup = new FacadeTeaCup(); FacadeTeaBag teaBag = new FacadeTeaBag(); FacadeWater water = new FacadeWater(); cup.addFacadeTeaBag(teaBag); water.boilFacadeWater(); cup.addFacadeWater(water); cup.steepTeaBag(); return cup; }
public FacadeTeaCup makeACuppa() { FacadeTeaCup cup = new FacadeTeaCup(); FacadeTeaBag teaBag = new FacadeTeaBag(); FacadeWater water = new FacadeWater(); cup.addFacadeTeaBag(teaBag); water.boilFacadeWater(); cup.addFacadeWater(water); cup.steepTeaBag(); return(cup); }
public void addFacadeWater(FacadeWater facadeWaterIn) { facadeWater = facadeWaterIn; }