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

Method animation

source/game/StarAiDatabase.cpp:68–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68Animation AiDatabase::animation(String const& species, String const& animationName) const {
69 auto faceAnimation = m_animationConfig.aiAnimations.get(animationName);
70 faceAnimation.setTag("image", m_speciesParameters.get(species).aiFrames);
71 return faceAnimation;
72}
73
74Animation AiDatabase::staticAnimation(String const& species) const {
75 auto staticAnimation = m_animationConfig.staticAnimation;

Callers 1

setFaceAnimationMethod · 0.80

Calls 2

setTagMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected