Пример #1
0
 public override void AddQuarter(VendingMachine vm)
 {
     vm.Vend();
     vm.ChangeState(Start.Instance());
 }
Пример #2
0
 protected virtual void ChangeState(VendingMachine vm, State s)
 {
     vm.ChangeState(s);
 }
Пример #3
0
 public override void AddQuarter(VendingMachine vm)
 {
     vm.Vend();
     vm.ChangeState(Start.Instance());
 }
Пример #4
0
 protected virtual void ChangeState(VendingMachine vm, State s)
 {
     vm.ChangeState(s);
 }