private void _OnToStartGame(GameZone game_zone) { var stage = new LoadingMapStage(_Binder, game_zone); stage.OnDoneEvent += _LoadingMapDone; _Machine.Push(stage); }
public void Play(GameZone game_zone) { var stage = new PlayStage(_Binder, game_zone); //stage.OnDoneEvent += () => { OnDonePlayEvent?.Invoke(); }; _Machine.Push(stage); }
public PlayStage(ISoulBinder binder, GameZone game_zone) { _Binder = binder; _GameZone = game_zone; }
public void View(GameZone game_zone) { var stage = new ViewStage(_Binder, game_zone); _Machine.Push(stage); }
private void _LoadingMapDone(GameZone game_zone) { Play(game_zone); }
public LoadingMapStage(ISoulBinder binder, GameZone game_zone) { _Binder = binder; _GameZone = game_zone; }