コード例 #1
0
 public void MoveToOpenState()
 {
     _currentState?.Clear();
     _currentState = _openState;
     _currentState.Initialize();
 }
コード例 #2
0
 public void MoveToCloseState()
 {
     _currentState?.Clear();
     _currentState = _closeState;
     _currentState.Initialize();
 }