#!/usr/bin/env python3 import map import render def main(): textures = [] textures.append(map.Texture("char", "#", "hash")) textures.append(map.Texture("mchar", "simple", "simple")) for i in textures: i.load() tiles = [] for i in range(10, 20): for j in range(2, 8): t = map.Tile([i, j], "placeholder") t.addTexture(textures[0]) tiles.append(t) t = map.Tile([23, 2], "placeholder") t.addTexture(textures[1]) tiles.append(t) renderer = render.Renderer() [renderer.addTile(i) for i in tiles] renderer.finalRender() if __name__ == "__main__": main()