From 215dd876f72b83164663feafb487a94e14ffaa3e Mon Sep 17 00:00:00 2001 From: Marcin Kostrzewski Date: Sat, 16 May 2020 09:50:10 +0200 Subject: [PATCH] Added classifier param to the constructor --- src/entities/Pickupable.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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):