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

Method Drawable

common/spritesheet.go:147–149  ·  view source on GitHub ↗

Drawable returns the drawable for a given index

(index int)

Source from the content-addressed store, hash-verified

145
146// Drawable returns the drawable for a given index
147func (s *Spritesheet) Drawable(index int) Drawable {
148 return s.Cell(index)
149}
150
151// Drawables returns all the drawables on the sheet
152func (s *Spritesheet) Drawables() []Drawable {

Callers 1

DrawablesMethod · 0.95

Calls 1

CellMethod · 0.95

Tested by

no test coverage detected