public IWithRoomSyntax AddFloor()
        {
            int nextFloorLevel = this.house.Floors.Count;

            var newFloor = new Floor(nextFloorLevel, DefaultFloorHeightInMeters);

            this.house.AddFloor(newFloor);

            this.newestFloor = newFloor;

            return this;
        }
Example #2
0
 public void AddFloor(Floor floor)
 {
     this.floors.Add(floor);
 }
Example #3
0
 public void AddFloor(Floor floor)
 {
     this.floors.Add(floor);
 }