예제 #1
0
 public Wardrobe(RoomType roomType, Material baseMaterial, Size size, int numberOfShelves, bool builtIn)
     : base(roomType, baseMaterial,size)
 {
     this.numberOfShelves = numberOfShelves;
     this.builtIn = builtIn;
 }
예제 #2
0
        private bool scratchResistant; // karcallo

        #endregion Fields

        #region Constructors

        public KitchenTable(RoomType roomType, Material baseMaterial, Size size, int numberOfUser, bool scratchResistant)
            : base(roomType, baseMaterial,size)
        {
            this.numberOfUser = numberOfUser;
            this.scratchResistant = scratchResistant;
        }
예제 #3
0
 public AbstractFurniture(RoomType roomType, Material baseMaterial, Size size)
 {
     this.roomType = roomType;
     this.baseMaterial = baseMaterial;
     this.size = size;
 }
예제 #4
0
파일: Bed.cs 프로젝트: davidbedok/oeprog2
 public Bed(RoomType roomType, Material baseMaterial, Size size, int numberOfUser, Mattress mattress)
     : base(roomType, baseMaterial,size)
 {
     this.numberOfUser = numberOfUser;
     this.mattress = mattress;
 }