设计模式12---状态机模式
摘要:
状态机模式就是在需要经历一系列状态转变的时候,把每个状态都独立成一个类,而每个状态类只关心它自己和它的下一个状态。 该模式重现编写于:http://www.cnblogs.com/deman/p/5498499.html 阅读全文
posted @ 2014-12-12 17:11 Joyfulmath 阅读(550) 评论(0) 推荐(0)
posted @ 2014-12-12 17:11 Joyfulmath 阅读(550) 评论(0) 推荐(0)
posted @ 2014-12-12 11:20 Joyfulmath 阅读(342) 评论(0) 推荐(0)