Logo Search packages:      
Sourcecode: magicor version File versions  Download package

def magicor::sprites::AnimatedSprite::draw (   self,
  surface,
  offsetX = 0,
  offsetY = 0 
) [inherited]

Draw the sprite using animation specs.

Definition at line 320 of file __init__.py.

00320                                                      :
        """
        Draw the sprite using animation specs.
        """
        surface.blit(self.image,
                     (self.x + offsetX, self.y + offsetY),
                     (self._frameIndex * self.width,
                      0, self.width, self.height)
                     )

    def colliding(self, group):


Generated by  Doxygen 1.6.0   Back to index