mirror of
https://github.com/CyC2018/Interview-Notebook.git
synced 2026-10-29 23:23:43 +00:00
Update 设计模式 - 状态.md
重新绘制配图。
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 127 KiB |
+1
-1
@@ -12,7 +12,7 @@
|
||||
|
||||
糖果销售机有多种状态,每种状态下销售机有不同的行为,状态可以发生转移,使得销售机的行为也发生改变。
|
||||
|
||||
<div align="center"> <img src="https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/396be981-3f2c-4fd9-8101-dbf9c841504b.jpg" width="600"/> </div><br>
|
||||
<div align="center"> <img src="pics/state-gumball.png" width="740px"/> </div><br>
|
||||
|
||||
```java
|
||||
public interface State {
|
||||
|
||||
Reference in New Issue
Block a user