MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / setFaceAnimation

Method setFaceAnimation

source/frontend/StarAiInterface.cpp:385–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

animationMethod · 0.80

Tested by

no test coverage detected