speed bumps
This commit is contained in:
parent
f0d6001efa
commit
4ab84deaf3
11
city.py
11
city.py
@ -6,21 +6,16 @@ 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:
|
||||
nodes: List[GarbageCan]
|
||||
bumps: List[SpeedBump]
|
||||
|
Loading…
Reference in New Issue
Block a user