code: def get_tile_image(self, x, y, l):
          
          # disabled for now, re-enable when support for generic maps is restored
          # # since the tile has been queried, assume it wants to be checked
          # # for animations sometime in the future
          # if self._animation_queue:
          #     self._tracked_tiles.add((x, y, l))
  
          try:
              # animated, so return the correct frame
              return self._animated_tile[(x, y, l)]
  
          except KeyError:
  
              # not animated, so return surface from data, if any
              return self._get_tile_image(x, y, l)
docs: Get a tile image, respecting current animations
  
          :param x: x coordinate
          :param y: y coordinate
          :param l: layer
  
          :type x: int
          :type y: int
          :type l: int
  
          :rtype: pygame.Surface