Add a bunch of doc strings and header comments to files

This commit is contained in:
Eryn Wells 2023-02-15 08:25:40 -08:00
parent 633580e27a
commit 4050ac5c6f
7 changed files with 25 additions and 3 deletions

View file

@ -82,6 +82,7 @@ class Map:
return self.tile_is_in_bounds(point) and self.tiles[point.x, point.y]['walkable']
def point_is_explored(self, point: Point) -> bool:
'''Return True if the tile at the given point has been explored by the player'''
return self.tile_is_in_bounds(point) and self.explored[point.x, point.y]
def highlight_points(self, points: Iterable[Point]):