コード例 #1
0
 public PayMoney(VendingMachineState obj)
 {
     Vendor       = obj.Vendor;
     AmountPaid   = obj.AmountPaid;
     selecteditem = obj.selecteditem;
 }
コード例 #2
0
 public VendingMachine()
 {
     currentState = new Selectproduct(this);
 }
コード例 #3
0
 public GetPrice(VendingMachineState obj)
 {
     Vendor       = obj.Vendor;
     selecteditem = obj.selecteditem;
 }