Example #1
0
 def draw(self, surf, topleft, white=False, cooldown=False):
     ItemSurf = self.image
     if white:
         ItemSurf = Image_Modification.transition_image_white(ItemSurf)
     ItemRect = ItemSurf.get_rect()
     ItemRect.topleft = topleft
     surf.blit(ItemSurf, ItemRect)