Exemple #1
0
    void Start()
    {
        Instance = this;

        SetApplicationParameters();
        InitializeScripts();

        //Global.Initialize();

        Phases.Initialize();
        Rules.Initialize();
        Board.Initialize();
        Roster.Initialize();
        Selection.Initialize();
        BombsManager.Initialize();
        Actions.Initialize();
        Combat.Initialize();
        Triggers.Initialize();
        DamageDecks.Initialize();
        new ObstaclesManager();

        CheckRemoteSettings();

        GameMode.CurrentGameMode.StartBattle();
    }
    private IEnumerator StartGameCoroutine()
    {
        Instance = this;

        SetApplicationParameters();
        InitializeScripts();

        //Global.Initialize();

        Phases.Initialize();
        Rules.Initialize();
        Board.Initialize();
        yield return(Roster.Initialize());

        Selection.Initialize();
        BombsManager.Initialize();
        ActionsHolder.Initialize();
        Combat.Initialize();
        Triggers.Initialize();
        yield return(DamageDecks.Initialize());

        CheckRemoteSettings();

        GameMode.CurrentGameMode.StartBattle();
    }