请享受无法回避的痛苦! i want create a typeSafe world~
public abstract class State { abstract void doSomething(); //不同的状态做一些不同的事情 }
状态模式 State
幽林萌逐
2022-04-22