ScummVM API documentation
Titanic::TTvocab Class Reference

Public Member Functions

 TTvocab (VocabMode vocabMode)
 
TTwordgetWord (TTstring &str, TTword **srcWord=nullptr) const
 

Member Function Documentation

◆ getWord()

TTword* Titanic::TTvocab::getWord ( TTstring str,
TTword **  srcWord = nullptr 
) const

Gets a matching word from the vocab list given a passed string

Parameters
strWord text to scan for
srcWordOptional pointer to store the original word match was found on
Returns
A new word instance if a match if found, or null if not

The documentation for this class was generated from the following file: