Exemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <returns></returns>
 public static UserModel Beginner()
 {
     return(new UserModel
     {
         Name = "Beginner",
         FrequencyDelta = 3000,
         CurrentLevel = 1,
         Scores = HighScoreContainer.Default()
     });
 }
Exemplo n.º 2
0
        public HighScoreContainer Clone()
        {
            HighScoreContainer tmp = HighScoreContainer.Default();

            foreach (HighScore rec in this.Data)
            {
                tmp.Data.Add(rec.Clone());
            }
            return(tmp);
        }
Exemplo n.º 3
0
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public static UserModel Expert()
        {
            var GG = new UserModel
            {
                Name           = "Expert",
                FrequencyDelta = 4500,
                CurrentLevel   = 10,
                Scores         = HighScoreContainer.Default()
            };

            return(GG);
        }
Exemplo n.º 4
0
 /// <summary>
 ///
 /// </summary>
 public UserModel()
 {
     this._userType     = UserType.Stereotype;
     this._Name         = "";
     this._FqTraining   = 2500;
     this._FqDelta      = 0;
     this._FqComparison = 0;
     this._currLevel    = 1;
     this._currGate     = 0;
     this._currLife     = 4;
     this._currScore    = 0;
     this._scores       = new HighScoreContainer();
     this.Gates         = new Gates();
     this.Pattern       = new WinPattern();
     this._showDebug    = false;
 }