internal IState GetSoldState() { _soldState.Dispense(); if (_state != _soldOutState) { return(_noQuarterState); } return(_soldOutState); }
public void TurnCrank() { _state.TurnCrank(); _state.Dispense(); }
internal IState GetWinnerState() { _winnerState.Dispense(); return(_state); }
public void Dispense() { _state.Dispense(); }