public void RemoveLetterDisplayed() { display.RemoveLetter(); if (display.AllLettersRemoved()) { display.RemoveWord(); } }
public bool WordTyped() { bool wordTyped = (typeIndex >= word.Length); if (wordTyped) { display.RemoveWord(); } return(wordTyped); }
public bool IsWordTyped() { var isTyped = _index == _word.Length; if (isTyped) { _wordDisplay.RemoveWord(); } return(isTyped); }
public void destroyShip() { if (display.GetSpriteRenderer() != null) { display.GetSpriteRenderer().sprite = display.getSprite(); display.RemoveWord(); isDestroyed = true; } }
public bool WordTyped() { bool wordTyped = (_index >= word.Length); if (wordTyped) { _wordDisplay.RemoveWord(); } return(wordTyped); }
public bool wordTyped() { bool typed = typeIndex >= word.Length - 1; if (typed) { display.RemoveWord(); } return(typed); }
public bool WordTyped() { bool wordTyped = (typeIndex >= word.Length); if (wordTyped) { display.RemoveWord();//Remove the word on the screen } return(wordTyped); }
public bool WordTyped() { bool wordTyped = (indexOfChar >= word.Length); //Debug.Log("wordTyped " + wordTyped); if (wordTyped) { display.RemoveWord(); } return(wordTyped); }
public bool WordTyped() { //bekijkt of het hele woord is getypt bool wordTyped = (typeIndex >= word.Length); if (wordTyped) // als het woord is getypt { display.RemoveWord(); //verwijder het woord van het scherm } return(wordTyped); }
public bool HasTyped() { bool done = i >= word.Length; if (done) { //good bye word display.RemoveWord(); } return(done); }
public bool WordTyped() { bool wordTyped = (typeIndex >= word.Length); if (wordTyped) { display.RemoveWord(); //ilangin kata dari layar } return(wordTyped); }
public bool WordTyped() { bool wordTyped = (typeIndex >= word.Length); if (wordTyped) { Score.CurrentScore++; display.RemoveWord(); } return(wordTyped); }
public bool WordTyped() { bool wordTyped = (typeIndex >= word.Length); if (wordTyped) { display.RemoveWord(); } //Destroy(gameObject, 7f); return(wordTyped); }
public bool WordTyped() { if (typeIndex >= word.Length) { display.RemoveWord(); return(true); } else { return(false); } }
public bool WordTyped() { bool wordTyped = (currentTypedIndex >= word.Length - 1); if (wordTyped) { // Remove the word on screen display.RemoveWord(); } return(wordTyped); }
public bool wordTyped() { bool wordTyped = (index >= text.Length); if (wordTyped) { //remove word on screen display.RemoveWord(); } return(wordTyped); }
public bool WordTyped() { bool wordTyped = (typeIndex >= romaji.Length); // Checks if the whole word has been typed if (wordTyped) { display.RemoveWord(); // Remove the whole object on screen } else { display.Highlighter(); } return(wordTyped); }
public bool WordTyped() { try { bool wordTyped = (typeIndex >= word.Length); if (wordTyped) { display.RemoveWord(); } return(wordTyped); } catch (Exception e) { return(true); } }
// Executes whenever a word has been typed in completely public bool WordTyped() { bool wordTyped = (typeIndex >= word.Length); if (wordTyped) { // Triggers Die animation on enemies or destroys projectile if (worldObject && !worldObject.CompareTag("Projectile")) { display.RemoveWord(); worldObject.GetComponent <EnemyBehaviour>().Die(); } else { // display.RemoveWord() will be called from objects script worldObject.GetComponent <RockMoss>().Delete(); } } return(wordTyped); }
public void Destroy() { display.RemoveWord(); }
public void RemoveWord() { display.RemoveWord(); }