Width returns the integer width of the tile
()
| 257 | |
| 258 | // Width returns the integer width of the tile |
| 259 | func (t *Tile) Width() float32 { |
| 260 | return t.Image.Width() |
| 261 | } |
| 262 | |
| 263 | // Texture returns the tile's Image texture |
| 264 | func (t *Tile) Texture() *gl.Texture { |