going-rogue/erynrl/map/generator
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
..
__init__.py Small bit of reformatting and type checking 2023-02-19 18:22:45 -08:00
cellular_atomata.py Add CellularAtomataMapGenerator 2023-02-20 18:02:01 -08:00
corridor.py Sort rooms before generating corridors between them 2023-03-05 14:26:20 -08:00
room.py Break RoomGenerators into Rect and Room methods 2023-03-05 16:53:00 -08:00