This commit is contained in:
Wirus 2020-04-05 21:12:34 +02:00
commit 93f3df85fe

View File

@ -46,6 +46,9 @@ class Screen:
sprite.rect.x += self.mapCoord
self.gameObject.spritesList.add(sprite)
def removeSprite(self, sprite):
self.gameObject.spritesList.remove(sprite)
# screen locations enum
class Locations(Enum):