Close deletes the stored texture of a tile
()
| 267 | |
| 268 | // Close deletes the stored texture of a tile |
| 269 | func (t *Tile) Close() { |
| 270 | t.Image.Close() |
| 271 | } |
| 272 | |
| 273 | // View returns the tile's viewport's min and max X & Y |
| 274 | func (t *Tile) View() (float32, float32, float32, float32) { |