Compare commits
2 Commits
f937ce349f
...
77032672bc
Author | SHA1 | Date | |
---|---|---|---|
77032672bc | |||
|
fa3868746a |
@ -1,5 +1,6 @@
|
||||
from garbage import Garbage
|
||||
from typing import List, Tuple
|
||||
from gameContext import GameContext
|
||||
|
||||
class GarbageCan:
|
||||
position: Tuple[int, int]
|
||||
@ -14,3 +15,6 @@ class GarbageCan:
|
||||
|
||||
def remove_garbage(self, garbage: Garbage) -> None:
|
||||
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