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:
|
class Node:
|
||||||
garbageCan: GarbageCan
|
garbageCan: GarbageCan
|
||||||
id: int
|
|
||||||
|
|
||||||
def __init__(self, id: int, can: GarbageCan) -> None:
|
|
||||||
self.id
|
|
||||||
self.can = can
|
|
||||||
|
|
||||||
class Bump:
|
|
||||||
speedBump: SpeedBump
|
speedBump: SpeedBump
|
||||||
id: int
|
id: int
|
||||||
|
|
||||||
def __init__(self, id: int, bump: SpeedBump) -> None:
|
def __init__(self, id: int, can: GarbageCan, bump: SpeedBump) -> None:
|
||||||
self.id
|
self.id
|
||||||
|
self.can = can
|
||||||
self.bump = bump
|
self.bump = bump
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class City:
|
class City:
|
||||||
nodes: List[GarbageCan]
|
nodes: List[GarbageCan]
|
||||||
bumps: List[SpeedBump]
|
bumps: List[SpeedBump]
|
||||||
|
Loading…
Reference in New Issue
Block a user