예제 #1
0
 public void PayOk(IGate gate)
 {
     gate.ChangeState(new OpenGateState());
 }
예제 #2
0
 public void Enter(IGate gate)
 {
     gate.ChangeState(new ClosedGateState());
 }