Exemple #1
0
    private static void BattleStart(EventMoveMap eventMoveMap, MapManager mapManager)
    {
        AllEventManager   allEventMgr       = AllEventManager.GetInstance();
        AllSceneManager   allSceneMgr       = AllSceneManager.GetInstance();
        PlayerTrainerData playerTrainerData = PlayerTrainerData.GetInstance();
        EnemyTrainerData  enemyTrainerData  = EnemyTrainerData.GetInstance();

        mapManager.GetNovelWindowParts().GetNovelBlinkIconParts().GetNovelBlinkIconEventSprite().blinkTimeRegulation_   = 0.5f;
        mapManager.GetNovelWindowParts().GetNovelBlinkIconParts().GetNovelBlinkIconEventSprite().GetBlinkState().state_ = UpdateSpriteRendererProcessBlink.In;

        //エネミーの設定
        enemyTrainerData.SetTrainerData(ResourcesEnemyTrainerDatasLoader.GetInstance().GetEnemyTrainerDatas(5));

        //BGMの停止
        allEventMgr.BGMAudioVolumeChangeEventSet(0);

        //ノベル処理
        {
            string context = ResourcesTextsLoader.GetInstance().GetTexts("FinalDocter/BattleStart1");
            EventMoveMap.NovelEvent(mapManager.GetNovelWindowParts(), context, mapManager.GetCharacterEventSprite());
        }

        //BGMの再生
        allEventMgr.BGMAudioClipChangeEventSet(ResourcesSoundsLoader.GetInstance().GetSounds(SoundsPathSupervisor.GetInstance().GetPathDreamers_DeadIntro()));
        allEventMgr.BGMAudioPlayEventSet();
        allEventMgr.BGMAudioVolumeChangeEventSet(0.3f);

        //戦闘の処理
        EventMoveMap.BattleEvent(ResourcesSoundsLoader.GetInstance().GetSounds(SoundsPathSupervisor.GetInstance().GetPathDreamers_Dead()));
    }