Beispiel #1
0
 public ATMMachine()
 {
     atmMachineState = new DebitCardNotInsertedState();
 }
Beispiel #2
0
 public void setState(IATMState state)
 {
     this.state = state;
 }
 public void SetMachineState(IATMState state)
 {
     machineState = state;
 }
Beispiel #4
0
 public void setATMState(IATMState newATMState)
 {
     atmState = newATMState;
 }
Beispiel #5
0
 public ATMMachine(int initialFunds)
 {
     this.machineState = this.NoCard;
     this.machineState.SetAmountInMachine(initialFunds);
 }
Beispiel #6
0
 public void SetMachineState(IATMState newState)
 {
     machineState = newState;
 }