Exemplo n.º 1
0
 public LevelOneModel(string word, TimeModel timer, double percentage = 0.25)
 {
     this._percentage  = percentage;
     this._guesses     = creatDeafultGuesses(word);
     this._word        = word;
     this._wordLetters = getWordLetters(word.ToLower());
     // to show the letters to the player
     this._timeOver = false;
     this._timer    = timer;
     this._timer.start();
 }
Exemplo n.º 2
0
 public BaseLevelModel(string word, TimeModel timer, double percentage, int score)
 {
     _score      = score;
     _percentage = percentage;
     _guesses    = creatDeafultGuesses(word);
     _word       = word;
     // to show the letters to the player
     _timer           = timer;
     _timer.TimeOver += timeIsOver;
     _timer.start();
 }
Exemplo n.º 3
0
 public LevelOneModel(string word, TimeModel timer, double percentage, int score) : base(word, timer, percentage, score)
 {
     _wordLetters = getWordLetters(word.ToLower());
 }