Exemple #1
0
 def render_hit(self, screen, position, now_frame):
     screen.blit(
         func.load_hero(HEROES_PATHS[now_frame], position)[0],
         func.load_hero(HEROES_PATHS[now_frame], position)[1])
Exemple #2
0
 def render_vibing(self, screen, position):
     now_frame = self.frame + self.ticker_for_vibe
     screen.blit(
         func.load_hero(HEROES_PATHS[now_frame], position)[0],
         func.load_hero(HEROES_PATHS[now_frame], position)[1])