zl程序教程

您现在的位置是:首页 >  其他

当前栏目

设计模式[5]-State

设计模式 State
2023-09-14 08:57:28 时间

Type: Behavioral

State模式:允许一个对象在其内部状态改变的时候改变其行为。


#include iostream 

using namespace std;

class State;