Beispiel #1
0
 public Gate()
 {
     _currentState = new ClosedGateState(this);
 }
Beispiel #2
0
 public void ChangeState(IGateAction gateState)
 {
     _currentState = gateState;
 }