Пример #1
0
 public override void InState()
 {
     Locator.PlayerManager.Initialize();
     Locator.InGamePresenter.Initialize();
     Locator.OutGamePresenter.Initialize();
     _mainFsm.ChangeState((int)MainFsm.State.Start);
 }
Пример #2
0
 public override void Update()
 {
     if (_IsGameEnd())
     {
         _mainFsm.ChangeState((int)MainFsm.State.End);
     }
     Locator.PlayerManager.Update();
 }
Пример #3
0
 public override void InState()
 {
     Locator.TurnManager.SetTurn(GameTypes.PlayerType.SELF);
     _mainFsm.ChangeState((int)MainFsm.State.Main);
 }