Package | Description |
---|---|
headfirst.state.gumballstatewinner |
Modifier and Type | Class and Description |
---|---|
class |
HasQuarterState |
class |
NoQuarterState |
class |
SoldOutState |
class |
SoldState |
class |
WinnerState |
Modifier and Type | Method and Description |
---|---|
State |
GumballMachine.getHasQuarterState() |
State |
GumballMachine.getNoQuarterState() |
State |
GumballMachine.getSoldOutState() |
State |
GumballMachine.getSoldState() |
State |
GumballMachine.getState() |
State |
GumballMachine.getWinnerState() |