示例#1
0
 internal void SetState(IGoFFlashlightState newState)
 {
     state = newState;
 }
示例#2
0
 public void SetState(IGoFFlashlightState newState)
 {
     state = newState;
     state.onEnter(this);
 }