From 4ab84deaf3e658ed770375a8cd44b2a2ecb803bf Mon Sep 17 00:00:00 2001 From: Wiktor Szynaka Date: Sat, 13 May 2023 20:02:42 +0200 Subject: [PATCH] speed bumps --- city.py | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/city.py b/city.py index 7360207..74e7483 100644 --- a/city.py +++ b/city.py @@ -6,19 +6,14 @@ from gameContext import GameContext class Node: garbageCan: GarbageCan - id: int - - def __init__(self, id: int, can: GarbageCan) -> None: - self.id - self.can = can - -class Bump: speedBump: SpeedBump id: int - - def __init__(self, id: int, bump: SpeedBump) -> None: + + def __init__(self, id: int, can: GarbageCan, bump: SpeedBump) -> None: self.id + self.can = can self.bump = bump + class City: