Example #1
0
        ///////////////////////////////////////////||\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
        ///////////////////////////////////// CONSTRUCTOR \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
        ///////////////////////////////////////////||\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\


        //Pre: The online helper, the highscore helper, the human width and height
        //Post: None
        //Desc: A constructor for the map save and load helper
        public MapSaveLoadHelper(OnlineStorageHelper onlineHelper, HighscoresHelper highscoreHelper, int humanWidth, int humanHeight)
        {
            //Sets all the data for the map save and load helper
            this.onlineHelper    = onlineHelper;
            this.highscoreHelper = highscoreHelper;
            this.humanWidth      = humanWidth;
            this.humanHeight     = humanHeight;
        }
Example #2
0
        ///////////////////////////////////////////||\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
        ///////////////////////////////////// CONSTRUCTOR \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
        ///////////////////////////////////////////||\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\


        //Pre: The online helper and profile stats helper objects
        //Post: The profile helper is created
        //Desc: A constructor for the profile helper
        public ProfileHelper(OnlineStorageHelper onlineHelper, ProfileStatsHelper profileStatsHelper)
        {
            //The online helper and profile stats helper are set
            this.onlineHelper       = onlineHelper;
            this.profileStatsHelper = profileStatsHelper;
        }
Example #3
0
        ///////////////////////////////////////////||\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
        ///////////////////////////////////// CONSTRUCTOR \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
        ///////////////////////////////////////////||\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\


        //Pre: The online helper
        //Post: The profile stats helper is created
        //Desc: A constructor for creating the profile stats helper
        public ProfileStatsHelper(OnlineStorageHelper onlineHelper)
        {
            //Sets the online helper
            this.onlineHelper = onlineHelper;
        }
        ///////////////////////////////////////////||\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
        ///////////////////////////////////// CONSTRUCTOR \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
        ///////////////////////////////////////////||\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\


        //Pre: The online helper object
        //Post: None
        //Desc: A constructor for the highscores helper
        public HighscoresHelper(OnlineStorageHelper onlineHelper)
        {
            //Sets the online helper
            this.onlineHelper = onlineHelper;
        }