diff --git a/garbageCan.py b/garbageCan.py index 8585123..782e6f3 100644 --- a/garbageCan.py +++ b/garbageCan.py @@ -1,6 +1,7 @@ from garbage import Garbage from typing import List, Tuple from gameContext import GameContext +from gridCellType import GridCellType class GarbageCan: position: Tuple[int, int] @@ -17,4 +18,5 @@ class GarbageCan: self.garbage.remove(garbage) def render(self, game_context: GameContext) -> None: - game_context.render_in_cell(self.position, "imgs/container.png") \ No newline at end of file + game_context.render_in_cell(self.position, "imgs/container.png") + game_context.grid[self.position] = GridCellType.GARBAGE_CAN \ No newline at end of file