Exemplo n.º 1
0
        private float boostByExclamation()
        {
            int exclamationCount = TextProperties.countLetter(this._inputString, "!");

            return(Math.Min(exclamationCount, 4) * Utils.EXCLAMATION_BOOST);
        }
Exemplo n.º 2
0
 private void setupInputStringProperties()
 {
     inputStringProperties = new TextProperties(this._inputString);
 }