MCPcopy Index your code
hub / github.com/EngoEngine/engo / AddAnimations

Method AddAnimations

common/animation.go:66–70  ·  view source on GitHub ↗

AddAnimations registers all given animations.

(actions []*Animation)

Source from the content-addressed store, hash-verified

64
65// AddAnimations registers all given animations.
66func (ac *AnimationComponent) AddAnimations(actions []*Animation) {
67 for _, action := range actions {
68 ac.AddAnimation(action)
69 }
70}
71
72// Cell returns the drawable for the current frame.
73func (ac *AnimationComponent) Cell() Drawable {

Callers 6

SetupMethod · 0.80
CreateHeroMethod · 0.80
CreateEntityMethod · 0.80

Calls 1

AddAnimationMethod · 0.95