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

Handling Non-rectangular Rooms #7

Open
viluon opened this issue Feb 17, 2016 · 0 comments
Open

Handling Non-rectangular Rooms #7

viluon opened this issue Feb 17, 2016 · 0 comments

Comments

@viluon
Copy link
Owner

viluon commented Feb 17, 2016

How should non-rectangular Rooms be handled? What about hallways and such?
Possible solutions:

  • Make Rooms use more than 4 Walls, 1 floor and 1 ceiling
    • This introduces issues like how should these be assembled together, how to keep track of where everything is and how to actually construct such Rooms, because points A and B are just not enough.
  • Make Rooms link to surrounding Rooms and let some of their Walls be zero size, or let them have less than 4 Walls
    • This introduces issues like how should these Rooms be linked together and how should they be constructed, but allows structures like hallways to be built from individual segments.
  • Create a new class for more abstract handling of rooms which would join individual cells
    • This would make handling of Rooms a little more logical and would also prevent weird linking issues from the second idea. This new class could be called Room and the cell could be something like RoomCell

This issue has been derived from #1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant