public virtual Floor SubCorridorWithSingleAcAndLight(int corridorCount = 1) { for (var i = 0; i < corridorCount; i++) { SubCorridors.Add(new SubCorridor().With(new Light(), new AC())); } return(this); }
public virtual Floor With(SubCorridor corridor) { SubCorridors.Add(corridor); return(this); }