MCPcopy
hub / github.com/EngoEngine/engo / Width

Method Width

common/level.go:259–261  ·  view source on GitHub ↗

Width returns the integer width of the tile

()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

WidthMethod · 0.65

Tested by

no test coverage detected