Пример #1
0
 public BattleCutManager StartBattleCut(PracticeManager manager, int enemyDeckID, BattleFormationKinds1 iKind, Action onFinished)
 {
     _actOnFinished    = onFinished;
     _clsBattleManager = manager.StartBattlePractice(enemyDeckID, iKind);
     StartBattle(iKind);
     _btlCutLive2D.shipCharacter.ChangeCharacter(manager.CurrentDeck.GetFlagShip());
     return(this);
 }
Пример #2
0
        private static bool InitPracticeBattle()
        {
            int enemy_deck_id = (int)RetentionData.GetData()["deckID"];
            BattleFormationKinds1 formation_id    = (BattleFormationKinds1)(int)RetentionData.GetData()["formation"];
            PracticeManager       practiceManager = RetentionData.GetData()["practiceManager"] as PracticeManager;

            _clsBattleManager = practiceManager.StartBattlePractice(enemy_deck_id, formation_id);
            return(true);
        }