diff --git a/notes/pics/dp-prototype.png b/notes/pics/dp-prototype.png new file mode 100644 index 00000000..9ec36b9a Binary files /dev/null and b/notes/pics/dp-prototype.png differ diff --git a/notes/设计模式 - 原型模式.md b/notes/设计模式 - 原型模式.md index 50dc005a..543470ce 100644 --- a/notes/设计模式 - 原型模式.md +++ b/notes/设计模式 - 原型模式.md @@ -1,15 +1,12 @@ ## 6. 原型模式(Prototype) -### Intent - +### 意图 使用原型实例指定要创建对象的类型,通过复制这个原型来创建新对象。 -### Class Diagram - -