CellCount returns the number of cells on the sheet
()
| 161 | |
| 162 | // CellCount returns the number of cells on the sheet |
| 163 | func (s *Spritesheet) CellCount() int { |
| 164 | return len(s.cells) |
| 165 | } |
| 166 | |
| 167 | // Cells returns all the cells on the sheet |
| 168 | func (s *Spritesheet) Cells() []Texture { |