diff --git a/src/entities/Pickupable.py b/src/entities/Pickupable.py index 477e8fc..1767679 100644 --- a/src/entities/Pickupable.py +++ b/src/entities/Pickupable.py @@ -2,7 +2,7 @@ from src.entities.Interactable import Interactable class Pickupable(Interactable): - def __init__(self, texture, size, pos, Statistics): + def __init__(self, texture, size, pos, Statistics, classifier=None): """ Create a pickupable object. Pickupable object disappear when interacted with. @@ -11,7 +11,7 @@ class Pickupable(Interactable): :param pos: Position tuple of (x,y) :param Statistics: Outcome of the interaction """ - super().__init__(texture, size, pos, Statistics) + super().__init__(texture, size, pos, Statistics, classifier) self.is_pickupable = True def on_interaction(self, Player):