C# Class StatePattern.NoCard

Inheritance: StatePattern.ATMState
Mostra file Open project: marwie/Design-Patterns-in-Unity-Example Class Usage Examples

Protected Properties

Property Type Description
atm ATMMachine

Public Methods

Method Description
EjectCard ( ) : void
InsertCard ( ) : void
InsertPin ( int pinEntered ) : void
NoCard ( ATMMachine atm ) : System.Collections
RequestCash ( int cash ) : void

Method Details

EjectCard() public method

public EjectCard ( ) : void
return void

InsertCard() public method

public InsertCard ( ) : void
return void

InsertPin() public method

public InsertPin ( int pinEntered ) : void
pinEntered int
return void

NoCard() public method

public NoCard ( ATMMachine atm ) : System.Collections
atm ATMMachine
return System.Collections

RequestCash() public method

public RequestCash ( int cash ) : void
cash int
return void

Property Details

atm protected_oe property

protected ATMMachine,StatePattern atm
return ATMMachine