def removeObject(self, sprite): for i in self._spritelist: if i[0] == sprite: self._spritelist.remove(i) break RenderUpdates.remove_internal(self, sprite)
def remove_internal( self, sprite ): RenderUpdates.remove_internal( self, sprite ) del self.displayRects[sprite]
def remove_internal(self, sprite): RenderUpdates.remove_internal(self, sprite) self.orderedSprites.remove(sprite)
def remove_internal (self, sprite): """RenderLayer.remove_internal (...) -> None """ RenderUpdates.remove_internal (self, sprite) self.sprite_depths.remove (sprite)