Update 设计模式 - 状态.md

重新绘制配图。
This commit is contained in:
CyC2018
2026-10-26 22:04:23 +08:00
parent 01cd9a26d9
commit 396b59cba9
2 changed files with 1 additions and 1 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

+1 -1
View File
@@ -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 {