Ejemplo n.º 1
0
    public void LoadPlayer()
    {
        PlayerData data = SaveFiles.LoadData();

        level            = data.Level;
        money            = data.Money;
        HighScoreTime[1] = data.TopTime1;
        HighScoreTime[2] = data.TopTime2;
        HighScoreTime[3] = data.TopTime3;
        HighScoreTime[4] = data.TopTime4;
        HighScoreTime[5] = data.TopTime5;
        Rstatus[2]       = data.Rocket2status;
        Rstatus[3]       = data.Rocket3status;
        Rstatus[4]       = data.Rocket4status;
    }