Esempio n. 1
0
    public override bool isValid(string currentPath, List <string> incidences)
    {
        bool valid = true;

        // Set the current path
        currentPath = getTitle();
        string playerPath = currentPath + " >> " + Controller.PLAYER;

        // Spread the call to the rest of te elements
        valid &= scenesListDataControl.isValid(currentPath, incidences);
        valid &= cutscenesListDataControl.isValid(currentPath, incidences);
        valid &= booksListDataControl.isValid(currentPath, incidences);
        valid &= itemsListDataControl.isValid(currentPath, incidences);
        valid &= atrezzoListDataControl.isValid(currentPath, incidences);
        valid &= playerDataControl.isValid(playerPath, incidences);
        valid &= npcsListDataControl.isValid(currentPath, incidences);
        valid &= conversationsListDataControl.isValid(currentPath, incidences);
        valid &= advancedFeaturesDataControl.isValid(currentPath, incidences);
        //valid &= adaptationProfilesDataControl.isValid(currentPath, incidences);
        ////valid &= assessmentProfilesDataControl.isValid(currentPath, incidences);

        return(valid);
    }