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

Scripting: Added region.contiguousRegions() #3576

Merged
merged 3 commits into from
Feb 22, 2023

Conversation

bjorn
Copy link
Member

@bjorn bjorn commented Feb 16, 2023

Returns this region as an array of contiguous regions, based on 8-way connectivity (regions touching each other diagonally are considered contiguous).

This was an easy to provide convenience function since the functionality already existed for AutoMapping to find the rules in a rule map.

Returns this region as an array of contiguous regions, based on 8-way
connectivity (regions touching each other diagonally are considered
contiguous).

This was an easy to provide convenience function since the functionality
already existed for AutoMapping to find the rules in a rule map.
@bjorn bjorn merged commit dc5a99f into mapeditor:master Feb 22, 2023
@bjorn bjorn deleted the scripting-contiguous-regions branch February 22, 2023 14:20
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