MCPcopy
hub / github.com/EngoEngine/engo / Remove

Method Remove

common/animation.go:127–131  ·  view source on GitHub ↗

Remove stops tracking the given entity.

(basic ecs.BasicEntity)

Source from the content-addressed store, hash-verified

125
126// Remove stops tracking the given entity.
127func (a *AnimationSystem) Remove(basic ecs.BasicEntity) {
128 if a.entities != nil {
129 delete(a.entities, basic.ID())
130 }
131}
132
133// Update advances the animations of all tracked entities.
134func (a *AnimationSystem) Update(dt float32) {

Callers 1

SetupMethod · 0.95

Calls 1

IDMethod · 0.80

Tested by 1

SetupMethod · 0.76