deleted not needed Map elements from Pickupable

This commit is contained in:
jonspacz 2020-04-05 21:36:58 +02:00
parent a9ca435cca
commit 404d2f1b50

View File

@ -1,6 +1,5 @@
import src.entities.Interactable as Interactable import src.entities.Interactable as Interactable
from src.entities import Statistics, Player from src.entities import Statistics, Player
from game.MapNew import Map
class Pickupable(Interactable): class Pickupable(Interactable):
def __init__(self, texture, pos, id, Statistics): def __init__(self, texture, pos, id, Statistics):
@ -14,4 +13,3 @@ class Pickupable(Interactable):
Player.statistics.set_thirst(self.Statistics.thirst) Player.statistics.set_thirst(self.Statistics.thirst)
Player.statistics.set_hunger(self.Statistics.hunger) Player.statistics.set_hunger(self.Statistics.hunger)
Map.removeSpriteFromMap(self)