Removed removeSprite method

This commit is contained in:
Marcin Kostrzewski 2020-05-14 11:13:29 +02:00
parent ce50622b89
commit f224c8c657

View File

@ -59,10 +59,6 @@ class Screen:
sprite.rect.x += self.mapCoord
self.gameObject.spritesList.add(sprite)
# TODO: Remove
def removeSprite(self, sprite):
self.gameObject.spritesList.remove(sprite)
def getUiWidth(self, location: Locations):
if location is Locations.RIGHT_UI:
return self.winX - (self.mapCoord + self.mapSize)