Skip to content

Error on non-orthogonal maps #79

@bcvery1

Description

@bcvery1

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 have orientation="orthogonal".

Need to set up a constant for each type:

  • orthogonal
  • hexagonal
  • isometric
  • staggered

Then, using a switch statement, check against each, returning an error if not supported, and returning a different error if default because it is an unrecognised format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueA simple issue that would be good for a newcomerpriority:mediumRequired for this release

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions