Example #1
0
 public void OnBattleLoaded(Scene scene, LoadSceneMode mode)
 {
     stateMachine = GetComponent <TurnStateMachine>();
     stateMachine.Initialize();
     _settings = GameManager.Settings.battleSettings;
     StartCoroutine(SetupBattle());
 }
Example #2
0
 public MoveState(string name, TurnStateMachine fsm) : base(name, fsm)
 {
 }
Example #3
0
 public ExecutionState(string name, TurnStateMachine fsm) : base(name, fsm)
 {
 }
Example #4
0
 protected TurnState(string name, TurnStateMachine fsm) : base(name)
 {
     FSM = fsm;
 }