コード例 #1
0
 @Override
 public void gumballsNotFinished() {
   gumballStateMachine.setState(gumballStateMachine.getNoQuarterState());
 }
コード例 #2
0
 @Override
 public void gumballsFinished() {
   gumballStateMachine.setState(gumballStateMachine.getSoldOutSate());
 }