changed id to size
This commit is contained in:
parent
404d2f1b50
commit
46b9ce8f95
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user