ondras / rot.js

ROguelike Toolkit in JavaScript. Cool dungeon-related stuff, interactive manual, documentation, tests!
https://ondras.github.io/rot.js/hp/
BSD 3-Clause "New" or "Revised" License
2.34k stars 255 forks source link

refactored connecting a cellular map #88

Closed uzudil closed 8 years ago

uzudil commented 8 years ago

This code makes connect() its own function. You can call it without args or with:

I included documentation with examples.

Thanks!

ondras commented 8 years ago

Nice one, thanks!

A large refactoring took place in this PR. I am going to merge it, but what about adding some unit tests for this particular behavior? :smiley:

uzudil commented 8 years ago

I'll work on that next. Thanks!