Update 'city.py'

This commit is contained in:
Maksymilian Szygenda 2023-04-23 15:35:37 +02:00
parent cf525c5c4b
commit 9f7ca5d0ed
1 changed files with 2 additions and 2 deletions

View File

@ -12,14 +12,14 @@ class Node:
self.can = can
class City:
nodes: List[Node]
nodes: List[GarbageCan]
streets: List[Street]
def __init__(self) -> None:
self.nodes = []
self.streets = []
def add_node(self, node: Node) -> None:
def add_node(self, node: GarbageCan) -> None:
self.nodes.append(node)
def add_street(self, street: Street) -> None: