garbage can cell type
This commit is contained in:
parent
9323b5a507
commit
2b10bb8650
@ -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
|
Loading…
Reference in New Issue
Block a user