一个简单的状态机 (c#)

用法线程 class Program { static void Main(string[] args) { //状态机 //根据当前的不一样的状态,作出不一样的事件操做 StateMachine.Register("cat", new Cat()); State
相关文章
相关标签/搜索