Compare commits
No commits in common. "77032672bc62fea5144a08854ff1434c9ab60520" and "f937ce349f880090b995e106c9627df863ebcb9f" have entirely different histories.
77032672bc
...
f937ce349f
@ -1,6 +1,5 @@
|
|||||||
from garbage import Garbage
|
from garbage import Garbage
|
||||||
from typing import List, Tuple
|
from typing import List, Tuple
|
||||||
from gameContext import GameContext
|
|
||||||
|
|
||||||
class GarbageCan:
|
class GarbageCan:
|
||||||
position: Tuple[int, int]
|
position: Tuple[int, int]
|
||||||
@ -15,6 +14,3 @@ class GarbageCan:
|
|||||||
|
|
||||||
def remove_garbage(self, garbage: Garbage) -> None:
|
def remove_garbage(self, garbage: Garbage) -> None:
|
||||||
self.garbage.remove(garbage)
|
self.garbage.remove(garbage)
|
||||||
|
|
||||||
def render(self, game_context: GameContext) -> None:
|
|
||||||
game_context.render_in_cell(self.position, "imgs/container.png")
|
|
Loading…
Reference in New Issue
Block a user