public bool hasWordEnd() { if (typeIndex >= word.Length) { displayTxt.removeWord(); return(true); } return(false); }
public bool WordTyped() { bool wordTyped = (typeIndex >= word.Length); if (wordTyped) { //Remove the word from the screen display.removeWord(); } return(wordTyped); }
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); }