def draw(self):
"""Draws the animated sprite's current frame at its current position on the screen"""
frame_index = self.animations[self.current_animation].get_current_frame()
self.screen.blit(self.images[frame_index], self.rect)
评论列表
文章目录