Compare commits
No commits in common. "29fcb83d83c4183f58605244d046039d5c9a74cc" and "94e65feaa94d7db7b258cbbc0407d5e278949733" have entirely different histories.
29fcb83d83
...
94e65feaa9
@ -1,16 +0,0 @@
|
|||||||
from garbage import Garbage
|
|
||||||
from typing import List, Tuple
|
|
||||||
|
|
||||||
class GarbageCan:
|
|
||||||
position: Tuple[int, int]
|
|
||||||
garbage: List[Garbage]
|
|
||||||
|
|
||||||
def __init__(self, position: Tuple[int, int]) -> None:
|
|
||||||
self.position = position
|
|
||||||
self.garbage = []
|
|
||||||
|
|
||||||
def add_garbage(self, garbage: Garbage) -> None:
|
|
||||||
self.garbage.append(garbage)
|
|
||||||
|
|
||||||
def remove_garbage(self, garbage: Garbage) -> None:
|
|
||||||
self.garbage.remove(garbage)
|
|
Loading…
Reference in New Issue
Block a user