예제 #1
0
파일: NoCashState.cs 프로젝트: GAlex7/TA
 // This constructor will create new state taking values from old state
 public NoCashState(ATMState state)
     : this(state.DummyCashPresent, state.ATM)
 {
 }
예제 #2
0
파일: NoCashState.cs 프로젝트: GAlex7/TA
 // This constructor will create new state taking values from old state
 public NoCashState(ATMState state)
     : this(state.DummyCashPresent, state.ATM)
 {
 }
예제 #3
0
 // This constructor will create new state taking values from old state
 public CashWithdrawnState(ATMState state)
     : this(state.DummyCashPresent, state.ATM)
 {
 }
예제 #4
0
 // This constructor will create new state taking values from old state
 public CashWithdrawnState(ATMState state)
     : this(state.DummyCashPresent, state.ATM)
 {
 }
예제 #5
0
 // This constructor will create new state taking values from old state
 public CardValidatedState(ATMState state)
     : this(state.DummyCashPresent, state.ATM)
 {
 }
예제 #6
0
 // This constructor will create new state taking values from old state
 public CardValidatedState(ATMState state)
     : this(state.DummyCashPresent, state.ATM)
 {
 }