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

Revamp of the library with state support #6

Merged
merged 7 commits into from
Dec 17, 2022
Merged

Revamp of the library with state support #6

merged 7 commits into from
Dec 17, 2022

Conversation

kelindar
Copy link
Owner

This PR introduces major breaking changes to the library, primarily focusing on adding state support for each tile. Now, each tile can have an optional state container, represented under the hood as a set (map[T]). To enable this, tile value has become a simple uint32 while the Tile returned by the library is now a cursor pointing to the tile itself, with useful state management methods such as Add(), Del() or Range().

@kelindar kelindar merged commit 28d6c88 into master Dec 17, 2022
@kelindar kelindar deleted the state branch December 17, 2022 09:45
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 this pull request may close these issues.

None yet

1 participant