Exemple #1
0
    //TO DO:
    //Set a structure to fill up the end panels.
    #endregion

    #region Lvl Management
    //lvl Set Up
    public void CreateLvl()
    {
        lvl_Index    = LoadLvlIndex();
        currentLevel = factory.CreateLvl(GetLvlFromListByType(lvlType.normal), lvl_Index); //Getting Lvl from factory

        currTree.CreateTree(currentLevel, currentLevel.targetsAmount);                     //Create the propper tree
    }
Exemple #2
0
    public void CreateLvl()
    {
        currentLevel = factory.CreateLvl(GetLvlFromListByType(currentGameMode), lvl_Index);
        //print("Current Tree: " + (currTree != null));
        currTree.CreateTree(currentLevel, currentLevel.targetsAmount); //Create the propper tree

        SerializationManager.instance.SaveLastGameModePlayed(currentGameMode);
    }