| 1902 | } |
| 1903 | |
| 1904 | void Creature::updateStatsWindow(const std::string& txt) |
| 1905 | { |
| 1906 | if (mStatsWindow == nullptr) |
| 1907 | return; |
| 1908 | |
| 1909 | CEGUI::Window* textWindow = mStatsWindow->getChild("TextDisplay"); |
| 1910 | textWindow->setText(txt); |
| 1911 | } |
| 1912 | |
| 1913 | std::string Creature::getStatsText() |
| 1914 | { |