-
Notifications
You must be signed in to change notification settings - Fork 13
Error on non-orthogonal maps #79
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueA simple issue that would be good for a newcomerA simple issue that would be good for a newcomerpriority:mediumRequired for this releaseRequired for this release
Milestone
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueA simple issue that would be good for a newcomerA simple issue that would be good for a newcomerpriority:mediumRequired for this releaseRequired for this release
TilePix only supports orthogonal maps (currently - hopefully we'll be able to support other types in the future). A sensible error should be returned on
Reading a map which doesn't haveorientation="orthogonal".Need to set up a constant for each type:
Then, using a
switchstatement, check against each, returning an error if not supported, and returning a different error ifdefaultbecause it is an unrecognised format.