﻿using System;
using System.Drawing;
using System.Collections.Generic;

namespace KitBox
{
    public class ClassicDoor : Door
    {
        private Slot slot;


        public ClassicDoor(string code, decimal price, int width, int height, int depth, string color, Slot slot) : base(code, price, width, height, depth, color)
        {
            this.slot = slot;
        }

        public override IEnumerable<IProduct> GetProducts()
        {
            return new List<IProduct>() { this, slot };
        }
    }
}