Esempio n. 1
0
 public WinnerState(GumballMachine gumballMachine)
 {
     this.gumballMachine = gumballMachine;
 }
 public SoldOutState(GumballMachine _gumballMachine)
 {
     machine = _gumballMachine;
 }
Esempio n. 3
0
 public GumballMonitor(GumballMachine gumballMachine)
 {
     this.gumballMachine = gumballMachine;
 }
 public SoldOutState(GumballMachine gumballMachine)
 {
     this.gumballMachine = gumballMachine;
 }
 public GumballMonitor(GumballMachine _gumballMachine)
 {
     machine = _gumballMachine;
 }
 public NoQuarterState(GumballMachine _gumballMachine)
 {
     machine = _gumballMachine;
 }