Removed removeSprite method
This commit is contained in:
parent
ce50622b89
commit
f224c8c657
@ -59,10 +59,6 @@ class Screen:
|
|||||||
sprite.rect.x += self.mapCoord
|
sprite.rect.x += self.mapCoord
|
||||||
self.gameObject.spritesList.add(sprite)
|
self.gameObject.spritesList.add(sprite)
|
||||||
|
|
||||||
# TODO: Remove
|
|
||||||
def removeSprite(self, sprite):
|
|
||||||
self.gameObject.spritesList.remove(sprite)
|
|
||||||
|
|
||||||
def getUiWidth(self, location: Locations):
|
def getUiWidth(self, location: Locations):
|
||||||
if location is Locations.RIGHT_UI:
|
if location is Locations.RIGHT_UI:
|
||||||
return self.winX - (self.mapCoord + self.mapSize)
|
return self.winX - (self.mapCoord + self.mapSize)
|
||||||
|
Loading…
Reference in New Issue
Block a user