deleted not needed Map elements from Pickupable
This commit is contained in:
parent
a9ca435cca
commit
404d2f1b50
@ -1,6 +1,5 @@
|
||||
import src.entities.Interactable as Interactable
|
||||
from src.entities import Statistics, Player
|
||||
from game.MapNew import Map
|
||||
|
||||
class Pickupable(Interactable):
|
||||
def __init__(self, texture, pos, id, Statistics):
|
||||
@ -14,4 +13,3 @@ class Pickupable(Interactable):
|
||||
Player.statistics.set_thirst(self.Statistics.thirst)
|
||||
Player.statistics.set_hunger(self.Statistics.hunger)
|
||||
|
||||
Map.removeSpriteFromMap(self)
|
||||
|
Loading…
Reference in New Issue
Block a user