city streets rendering

This commit is contained in:
Pawel Felcyn 2023-04-03 19:51:06 +02:00
parent 4fe38e3afc
commit 693121ac00

View File

@ -25,6 +25,14 @@ def create_city() -> City:
def create_streets() -> List[Street]:
streets = []
example_street = Street(1, 10, 2, StreetType.HORIZONTAL)
streets.append(example_street)
streets.append(Street(3, 30, 3, StreetType.HORIZONTAL))
streets.append(Street(4, 15, 10, StreetType.VERTICAL))
streets.append(Street(4, 10, 25, StreetType.VERTICAL))
streets.append(Street(11, 24, 10, StreetType.HORIZONTAL))
streets.append(Street(4, 9, 18, StreetType.VERTICAL))
streets.append(Street(1, 30, 16, StreetType.HORIZONTAL))
streets.append(Street(17, 30, 2, StreetType.VERTICAL))
streets.append(Street(3, 25, 23, StreetType.HORIZONTAL))
streets.append(Street(17, 30, 13, StreetType.VERTICAL))
streets.append(Street(17, 23, 25, StreetType.VERTICAL))
return streets