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

optionally make a connected cellular map #34

Merged
merged 1 commit into from
Apr 28, 2014
Merged

Conversation

uzudil
Copy link
Contributor

@uzudil uzudil commented Apr 26, 2014

Hello, please consider this patch to rot.js that optionally creates a connected cellular map. In such a map every non-wall location is accessible. To use it, do:

var map = new ROT.Map.Cellular(width, height, { connected: true });

and otherwise use as you would with a cellular map.

Thanks!

@ondras
Copy link
Owner

ondras commented Apr 28, 2014

Very cool, thanks a lot!

It would be now very nice to update the interactive manual accordingly.

ondras added a commit that referenced this pull request Apr 28, 2014
optionally make a connected cellular map
@ondras ondras merged commit 5e9ce0b into ondras:master Apr 28, 2014
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.

2 participants