package j4ckall.rxflux.ui; import j4ckall.rxflux.App; import j4ckall.rxflux.lib.flux.ActionCreater; /** * MainActivityのActionを生成するクラス * * @author matsumoto_k */ public class MainActionCreater extends ActionCreater { public MainActionCreater() { super(App.getDispatcher()); } public void countUp(int num) { dispatch(MainAction.COUNT_UP, num); } public void countDown(int num) { dispatch(MainAction.COUNT_DOWN, -num); } public void initialize(int num) { dispatch(MainAction.INITIALIZE, num); } }