예제 #1
0
 @Override
 public void gumballsNotFinished() {
   gumballStateMachine.setState(gumballStateMachine.getNoQuarterState());
 }
예제 #2
0
 @Override
 public void gumballsFinished() {
   gumballStateMachine.setState(gumballStateMachine.getSoldOutSate());
 }