View returns the tile's viewport's min and max X & Y
()
| 272 | |
| 273 | // View returns the tile's viewport's min and max X & Y |
| 274 | func (t *Tile) View() (float32, float32, float32, float32) { |
| 275 | return t.Image.View() |
| 276 | } |
| 277 | |
| 278 | // Tile represents a tile in the TMX map. |
| 279 | type Tile struct { |