示例#1
0
    def removeObject(self, sprite):

        for i in self._spritelist:
            if i[0] == sprite:
                self._spritelist.remove(i)
                break
        RenderUpdates.remove_internal(self, sprite)
示例#2
0
    def removeObject(self, sprite):

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