Beispiel #1
0
    public void InitializaBattle()
    {
        CanvasFade.StartFadeOut(null);

        BattleInfo = BattleInfoFactory.CreateBattleInfo(GameData.BattleToLoad);
        if (BattleInfo.BattleMusic != null)
        {
            SoundManager.instance.PlayMusic(BattleInfo.BattleMusic);
        }

        InitializeComboStone();

        InitializePlayer();

        InitializeBoss();

        InitializeTimer();

        initializeKeyboard();

        initializePowerUps();

        InitializePopUps();

        _battleStatus = BattleStatus.Running;
    }
Beispiel #2
0
    public void Start()
    {
        _battleInfo = BattleInfoFactory.CreateBattleInfo(GameData.BattleToLoad);

        initializeComponents();

        CanvasFade.StartFadeOut(null);
    }