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

Struct TMXResource

common/tmx_filetype.go:11–15  ·  view source on GitHub ↗

TMXResource contains a level created from a Tile Map XML

Source from the content-addressed store, hash-verified

9
10// TMXResource contains a level created from a Tile Map XML
11type TMXResource struct {
12 // Level holds the reference to the parsed TMX level
13 Level *Level
14 url string
15}
16
17// URL retrieves the url to the .tmx file
18func (r TMXResource) URL() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected