Add a bunch of doc strings and header comments to files
This commit is contained in:
parent
633580e27a
commit
4050ac5c6f
7 changed files with 25 additions and 3 deletions
|
|
@ -12,13 +12,16 @@ class MapGenerator:
|
|||
|
||||
@property
|
||||
def up_stairs(self) -> List[Point]:
|
||||
'''The location of any routes to a higher floor of the dungeon.'''
|
||||
raise NotImplementedError()
|
||||
|
||||
@property
|
||||
def down_stairs(self) -> List[Point]:
|
||||
'''The location of any routes to a lower floor of the dungeon.'''
|
||||
raise NotImplementedError()
|
||||
|
||||
def generate(self, tiles: np.ndarray):
|
||||
'''Generate a map and place it in `tiles`'''
|
||||
raise NotImplementedError()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue