Property | Type | Description | |
---|---|---|---|
cashInMachine | int | ||
correctPinEntered | bool |
Method | Description | |
---|---|---|
ATMMachine ( ) : System.Collections | ||
EjectCard ( ) : void | ||
GetCashInMachine ( ) : int | ||
GetCurrentState ( ) : StatePattern.ATMState | ||
InsertCard ( ) : void | ||
InsertPin ( int pin ) : void | ||
RequestCash ( int cash ) : void | ||
SetATMState ( StatePattern.ATMState state ) : void | ||
SetCashInMachine ( int newCash ) : void |
public GetCurrentState ( ) : StatePattern.ATMState | ||
return | StatePattern.ATMState |
public SetATMState ( StatePattern.ATMState state ) : void | ||
state | StatePattern.ATMState | |
return | void |
public SetCashInMachine ( int newCash ) : void | ||
newCash | int | |
return | void |