예제 #1
0
 public bool hasWordEnd()
 {
     if (typeIndex >= word.Length)
     {
         displayTxt.removeWord();
         return(true);
     }
     return(false);
 }
예제 #2
0
    public bool WordTyped()
    {
        bool wordTyped = (typeIndex >= word.Length);

        if (wordTyped)
        {
            //Remove the word from the screen
            display.removeWord();
        }
        return(wordTyped);
    }
예제 #3
0
    public bool WordTyped()
    {
        bool wordTyped = (typeIndex >= word.Length);

        if (wordTyped)
        {
            //Update Score
            Score.scoreVal++;

            //Update Position of Ship

            //Remove the word from the screen
            display.removeWord();
        }
        return(wordTyped);
    }