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