diff --git a/src/game/Screen.py b/src/game/Screen.py index 7e59ebc..0534af3 100644 --- a/src/game/Screen.py +++ b/src/game/Screen.py @@ -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):