Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Template cannot be properly parsed. #47

Open
tomaszheng opened this issue Jun 27, 2022 · 1 comment · May be fixed by #59
Open

The Template cannot be properly parsed. #47

tomaszheng opened this issue Jun 27, 2022 · 1 comment · May be fixed by #59

Comments

@tomaszheng
Copy link

tomaszheng commented Jun 27, 2022

static TiledObject parse(Parser parser) {
...
final template = parser.getSingleChildOrNullAs('template', Template.parse);
...
}

static Template parse(Parser parser) {
return Template(
tileSet: parser.getSingleChildOrNullAs('tileset', Tileset.parse),
object: parser.getSingleChildOrNullAs('object', TiledObject.parse),
);
}

Template is provided as a file, but the file is not loaded here.

@spydon
Copy link
Member

spydon commented Sep 20, 2022

Are you getting any errors or stack traces?

@trunghq3101 trunghq3101 linked a pull request Oct 27, 2022 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants