rename steps_* into stairs_*

This commit is contained in:
Laura Klünder 2016-12-19 00:33:31 +01:00
parent d109199a63
commit 6be7769e35
2 changed files with 4 additions and 4 deletions

View file

@ -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'))

View file

@ -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),