city streets rendering
This commit is contained in:
parent
4fe38e3afc
commit
693121ac00
12
startup.py
12
startup.py
@ -25,6 +25,14 @@ def create_city() -> City:
|
|||||||
|
|
||||||
def create_streets() -> List[Street]:
|
def create_streets() -> List[Street]:
|
||||||
streets = []
|
streets = []
|
||||||
example_street = Street(1, 10, 2, StreetType.HORIZONTAL)
|
streets.append(Street(3, 30, 3, StreetType.HORIZONTAL))
|
||||||
streets.append(example_street)
|
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
|
return streets
|
Loading…
Reference in New Issue
Block a user