Exemple #1
0
    //Logic for Managing the Shop ----------------------------------------------------------------------------------------------------------

    //Used to initialize the shop the first time the game is opened
    void setUpShop()
    {
        //With the default dimensions with default character choices
        characterChoices[1] = new CharacterOptionsForDimensions();
        characterChoices[2] = new CharacterOptionsForDimensions();
        characterChoices[3] = new CharacterOptionsForDimensions();

        saveShopData();
    }
Exemple #2
0
 public void addNewDimension(int sceneIndex)
 {
     characterChoices[sceneIndex] = new CharacterOptionsForDimensions();
     saveShopData();
 }