摘要:
状态模式主要用在对象的状态随外界因数而改变,对象的状态改变后其动作也随之改变。通常设计状态机的时候会用到。 #include <stdio.h>#include <unistd.h>#include <string.h>#include <iostream> using namespace std; 阅读全文
posted @ 2018-07-27 14:57
tjyuanxi
阅读(128)
评论(0)
推荐(0)
2018年7月27日