mirror of
https://github.com/enzet/map-machine.git
synced 2025-08-02 00:00:29 +02:00
Fix documentation.
This commit is contained in:
parent
ac79e6883a
commit
af5ad8057d
3 changed files with 13 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue