MCPcopy Index your code
hub / github.com/EngoEngine/engo / View

Method View

common/level.go:274–276  ·  view source on GitHub ↗

View returns the tile's viewport's min and max X & Y

()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

ViewMethod · 0.65

Tested by

no test coverage detected