Fix documentation.

This commit is contained in:
Sergey Vartanov 2022-07-04 03:34:47 +03:00
parent ac79e6883a
commit af5ad8057d
3 changed files with 13 additions and 3 deletions

View file

@ -168,6 +168,11 @@ class Building(Figure):
def draw_walls(svg, building: Building, segment, height, shift_1, shift_2):
"""
Draw walls for buildings as a quadrangle.
Color of the wall is based on illumination.
"""
fill: str
if building.is_construction:
color_part: float = segment.angle * 0.2