Example #1
0
        public GameData OnSave()
        {
            var scoreSaver = new ScoreData();

            scoreSaver.Score = CurrentScore;
            return(scoreSaver);
        }
        public void OnLoad(GameData data)
        {
            ScoreData sData = (ScoreData)data;

            CurrentScore = sData.Score;
            UpdateScore();
        }
        public GameData OnSave()
        {
            ScoreData s = new ScoreData();

            s.Score = CurrentScore;
            return(s);
        }
        public GameData OnSave()
        {
            ScoreData scoreData = new ScoreData();

            scoreData.Score = CurrentScore;
            return(scoreData);
        }
Example #5
0
        public GameData OnSave()
        {
            // TODO fill me in
            ScoreData quickmaths = new ScoreData();

            quickmaths.Score = CurrentScore;
            return(quickmaths);
        }
Example #6
0
        public void OnLoad(GameData data)
        {
            // TODO fill me in
            ScoreData update = (ScoreData)data;

            CurrentScore = update.Score;
            UpdateScore();
        }
Example #7
0
        public GameData OnSave()
        {
            // TODO fill me in
            ScoreData temp = new ScoreData();

            temp.Score = CurrentScore;
            return(temp);
        }
Example #8
0
        public void OnLoad(GameData data)
        {
            ScoreData score = data as ScoreData;

            CurrentScore = score.Score;
        }