tile_index = self._tiles[tile_y * self._width + tile_x]
tile_index_x = tile_index % tile_count_x
tile_index_y = tile_index // tile_count_x
for pixel_x in range(self._tile_width):
for pixel_y in range(self._tile_height):
tile_index = self._tiles[tile_y * self._width + tile_x]
tile_index_x = tile_index % tile_count_x
tile_index_y = tile_index // tile_count_x
for pixel_x in range(self._tile_width):
for pixel_y in range(self._tile_height):