예제 #1
0
    public void StartBattle(BattleSceneData battleSceneData)
    {
        _previousLevel = battleSceneData.PreviousLevel;
        /* -- Set up Battle -- */
        PlayerLoader.BattleSetUp(battleSceneData.PlayerMingmings, battleSceneData.PlayerCards.ToList());
        EnemyLoader.BattleSetUp(battleSceneData.EnemyMingmings, battleSceneData.EnemyCards.ToList());

        _playerTurn = PlayerTurn.PlayerOne;

        StartCoroutine(StartTurnAfterSeconds(1));
    }