public void pumpLiter() { if (dSP.get2Cash() < (dSP.get2Liter() + 1) * dSP.getPrice2()) { mEP.stopPump(); } mEP.pumpOnce(); }
public void stopPump() { mEP.stopPump(); mEP.receipt(); }
public void pumpLiter() { if (dSP.get2Cash() < (dSP.get2Liter() + 1) * dSP.getPrice2()) { mEP.stopPump(); } mEP.pumpOnce(); }
public void stopPump() { mEP.stopPump(); mEP.receipt(); }