Error on non-orthogonal maps #79
Labels
enhancement
New feature or request
good first issue
A simple issue that would be good for a newcomer
priority:medium
Required for this release
Milestone
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
Read
ing a map which doesn't haveorientation="orthogonal"
.Need to set up a constant for each type:
Then, using a
switch
statement, check against each, returning an error if not supported, and returning a different error ifdefault
because it is an unrecognised format.The text was updated successfully, but these errors were encountered: