     }
 }
 
+// 继承
 class TShirt: Finery {
     override func show() {
         print("T 恤", separator: "", terminator: " + ")

    }
}

class ChineseTunicSuit: Finery {
    override func show() {
        print("中山装", separator: "", terminator: " + ")

    }
}

var b = Boy("Kingcos")

// 按顺序装饰
let tShirtA = TShirt(b)
let chineseTunicSuitA = ChineseTunicSuit(tShirtA)

chineseTunicSuitA.show()

let chineseTunicSuitB = ChineseTunicSuit(b)
let tShirtB = TShirt(chineseTunicSuitB)

tShirtB.show()
