Пример #1
0
 public GumballMonitor(GumballMachine machine)
 {
     this.machine = machine;
 }
 public HasQuarterState(GumballMachine gumballMachine)
 {
     this.gumballMachine = gumballMachine;
 }
Пример #3
0
 public WinnerState(GumballMachine gumballMachine)
 {
     this.gumballMachine = gumballMachine;
 }