public ATMMachine() { atmMachineState = new DebitCardNotInsertedState(); }
public void setState(IATMState state) { this.state = state; }
public void SetMachineState(IATMState state) { machineState = state; }
public void setATMState(IATMState newATMState) { atmState = newATMState; }
public ATMMachine(int initialFunds) { this.machineState = this.NoCard; this.machineState.SetAmountInMachine(initialFunds); }
public void SetMachineState(IATMState newState) { machineState = newState; }