rename steps_* into stairs_*
This commit is contained in:
parent
d109199a63
commit
6be7769e35
2 changed files with 4 additions and 4 deletions
|
@ -83,8 +83,8 @@ class GraphArea():
|
|||
continue
|
||||
|
||||
if stair_direction_up is not None:
|
||||
point1.connect_to(point2, ctype=('steps_up' if stair_direction_up else 'steps_down'))
|
||||
point2.connect_to(point1, ctype=('steps_down' if stair_direction_up else 'steps_up'))
|
||||
point1.connect_to(point2, ctype=('stairs_up' if stair_direction_up else 'stairs_down'))
|
||||
point2.connect_to(point1, ctype=('stairs_down' if stair_direction_up else 'stairs_up'))
|
||||
elif escalator_direction_up is not None:
|
||||
if not escalator_swap_direction:
|
||||
point1.connect_to(point2, ctype=('escalator_up' if escalator_direction_up else 'escalator_down'))
|
||||
|
|
|
@ -264,8 +264,8 @@ class GraphLevel():
|
|||
# Drawing
|
||||
ctype_colors = {
|
||||
'': (50, 200, 0),
|
||||
'steps_up': (255, 50, 50),
|
||||
'steps_down': (255, 50, 50),
|
||||
'stairs_up': (255, 50, 50),
|
||||
'stairs_down': (255, 50, 50),
|
||||
'escalator_up': (255, 150, 0),
|
||||
'escalator_down': (200, 100, 0),
|
||||
'elevator_up': (200, 0, 200),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue