-
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(TileEngine): account for flipped and rotated tiles (#402)
* Added logic to retrieve tile id when it is turn clockwise or anticlockwise * Working version for rotated and flipped tiles. * Cleaning up the code * Solved the cases ID number 9 and 11 * all cases solved. working solution. I will refactor to reduce code size * Reduced code size by refactoring conditions * updated my comment to be right * Added two tests to cover new features of flipped and rotated tiles
- Loading branch information
Showing
2 changed files
with
160 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters