speed bumps

This commit is contained in:
Wiktor Szynaka 2023-05-13 20:02:42 +02:00
parent f0d6001efa
commit 4ab84deaf3
1 changed files with 4 additions and 9 deletions

13
city.py
View File

@ -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: