示例#1
0
 public void SetState(ChatState state)
 {
     this.state = state;
     this.state.SetResponder(this);
     this.state.OnStateChange(chat);
 }
示例#2
0
 public ChatResponder(Chat chat, ChatState state)
 {
     this.chat = chat;
     SetState(state);
 }