tmxLoader is responsible for managing '.tmx' files within 'engo.Files'. You can generate a TMX file with the Tiled map editor.
| 22 | // tmxLoader is responsible for managing '.tmx' files within 'engo.Files'. |
| 23 | // You can generate a TMX file with the Tiled map editor. |
| 24 | type tmxLoader struct { |
| 25 | levels map[string]TMXResource |
| 26 | root string |
| 27 | } |
| 28 | |
| 29 | func (t *tmxLoader) SetRoot(root string) { |
| 30 | t.root = root |
nothing calls this directly
no outgoing calls
no test coverage detected