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

Method GetCurrentFrameDrawables

common/animation_test.go:254–261  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

252}
253
254func (t *TestAnimationSystem) GetCurrentFrameDrawables() []int {
255 ret := []int{}
256 for _, e := range t.entities {
257 d := e.Drawable.(*TestDrawable)
258 ret = append(ret, d.ID)
259 }
260 return ret
261}
262
263type TestAnimation struct {
264 ecs.BasicEntity

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected