going-rogue/erynrl/map
Eryn Wells dd8b0364e0 Break RoomGenerators into Rect and Room methods
A RoomGenerator is now made up of two "method" classes that do separate
things:

1. A RectMethod takes the size of the area to generate and creates an
   iterable stream of Rects to fill that area.
2. A RoomMethod takes a Rect and creates a room inside of it.

These two components are composable in interesting ways, and allow a
more data-driven approach to map generation, though I don't yet have the
ability to make this mechansim entirely data-driven.
2023-03-05 16:53:00 -08:00
..
generator Break RoomGenerators into Rect and Room methods 2023-03-05 16:53:00 -08:00
__init__.py Raise exceptions for out-of-bounds points that are passed into Map helper methods 2023-03-05 13:36:32 -08:00
grid.py Document map.grid 2023-03-05 13:36:04 -08:00
room.py Fix up some imports in map.room 2023-02-19 19:13:31 -08:00
tile.py Add a bunch of doc strings and header comments to files 2023-02-15 08:25:40 -08:00