changed id to size

This commit is contained in:
jonspacz 2020-04-05 21:52:52 +02:00
parent 404d2f1b50
commit 46b9ce8f95

View File

@ -1,9 +1,10 @@
import src.entities.Interactable as Interactable
from src.entities import Statistics, Player from src.entities import Statistics, Player
from src.entities.Interactable import Interactable
class Pickupable(Interactable): class Pickupable(Interactable):
def __init__(self, texture, pos, id, Statistics): def __init__(self, texture, size, pos, Statistics):
super().__init__(texture, pos, id) super().__init__(texture, size, pos)
self.is_pickupable = True self.is_pickupable = True
self.Statistics = Statistics self.Statistics = Statistics