garbage can cell type

This commit is contained in:
Pawel Felcyn 2023-04-22 12:11:06 +02:00
parent 9323b5a507
commit 2b10bb8650

View File

@ -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]
@ -18,3 +19,4 @@ class GarbageCan:
def render(self, game_context: GameContext) -> None:
game_context.render_in_cell(self.position, "imgs/container.png")
game_context.grid[self.position] = GridCellType.GARBAGE_CAN