예제 #1
0
 public ATM()
 {
     currentState = new NoCardState(1000, this);
 }
예제 #2
0
 public NoCashState(ATMState state) : this(state.DummyCashPresent, state.Atm)
 {
 }
 public CardValidateState(ATMState state) : this(state.DummyCashPresent, state.Atm)
 {
 }