예제 #1
0
 public void Handle(GateState s)
 {
     gateState = s;
 }
예제 #2
0
 public Gate()
 {
     gateState = new CloseGateState(this);
 }