code refactor

This commit is contained in:
matixezor 2021-03-16 23:15:41 +01:00
parent a2394ac54d
commit f6e452f5e3

View File

@ -23,8 +23,7 @@ for img in [
]: ]:
IMAGES.append(image.load(main_path + '/images/Tiles/' + img + ".png")) IMAGES.append(image.load(main_path + '/images/Tiles/' + img + ".png"))
IMAGES_MAPPING = [0 for _ in range(11)] IMAGES_MAPPING = tuple([0 for _ in range(8)] + [1 for _ in range(3)])
IMAGES_MAPPING[-3:] = [1 for _ in range(3)]
ICON = main_path + '/images/mine_icon.png' ICON = main_path + '/images/mine_icon.png'
SAPPER_IDLE = image.load(main_path + '/images/sapper_idle/cpt_bomba.png') SAPPER_IDLE = image.load(main_path + '/images/sapper_idle/cpt_bomba.png')