SpeedBump #23
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
|
||||||
|
|||||||
|
|
||||||
s473616
commented
. .
s473616
commented
Po co ta klasa? Nie widzę gdzie ona jest używana. Po co ta klasa? Nie widzę gdzie ona jest używana.
|
|||||||
|
|
||||||
|
|
||||||
class City:
|
class City:
|
||||||
nodes: List[GarbageCan]
|
nodes: List[GarbageCan]
|
||||||
bumps: List[SpeedBump]
|
bumps: List[SpeedBump]
|
||||||
|
Loading…
Reference in New Issue
Block a user
Po co ta klasa? Nie widzę gdzie ona jest używana.