| 383 | } |
| 384 | |
| 385 | void AiInterface::setFaceAnimation(String const& name) { |
| 386 | if (m_faceAnimation.first != name) |
| 387 | m_faceAnimation = {name, m_aiDatabase->animation(m_species, name)}; |
| 388 | } |
| 389 | |
| 390 | void AiInterface::setCurrentSpeech(String const& textWidget, AiSpeech speech) {; |
| 391 | m_currentSpeech = std::move(speech); |