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
|
continue
|
||||||
|
|
||||||
if stair_direction_up is not None:
|
if stair_direction_up is not None:
|
||||||
point1.connect_to(point2, ctype=('steps_up' if stair_direction_up else 'steps_down'))
|
point1.connect_to(point2, ctype=('stairs_up' if stair_direction_up else 'stairs_down'))
|
||||||
point2.connect_to(point1, ctype=('steps_down' if stair_direction_up else 'steps_up'))
|
point2.connect_to(point1, ctype=('stairs_down' if stair_direction_up else 'stairs_up'))
|
||||||
elif escalator_direction_up is not None:
|
elif escalator_direction_up is not None:
|
||||||
if not escalator_swap_direction:
|
if not escalator_swap_direction:
|
||||||
point1.connect_to(point2, ctype=('escalator_up' if escalator_direction_up else 'escalator_down'))
|
point1.connect_to(point2, ctype=('escalator_up' if escalator_direction_up else 'escalator_down'))
|
||||||
|
|
|
@ -264,8 +264,8 @@ class GraphLevel():
|
||||||
# Drawing
|
# Drawing
|
||||||
ctype_colors = {
|
ctype_colors = {
|
||||||
'': (50, 200, 0),
|
'': (50, 200, 0),
|
||||||
'steps_up': (255, 50, 50),
|
'stairs_up': (255, 50, 50),
|
||||||
'steps_down': (255, 50, 50),
|
'stairs_down': (255, 50, 50),
|
||||||
'escalator_up': (255, 150, 0),
|
'escalator_up': (255, 150, 0),
|
||||||
'escalator_down': (200, 100, 0),
|
'escalator_down': (200, 100, 0),
|
||||||
'elevator_up': (200, 0, 200),
|
'elevator_up': (200, 0, 200),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue