Reorder texture pack entries

This commit is contained in:
Yohann D'ANELLO 2020-12-09 16:50:47 +01:00
parent 05e79c14e3
commit 56627f3e84
1 changed files with 38 additions and 25 deletions

View File

@ -14,10 +14,21 @@ class TexturePack:
tile_bg_color: int tile_bg_color: int
entity_fg_color: int entity_fg_color: int
entity_bg_color: int entity_bg_color: int
BODY_SNATCH_POTION: str
BOMB: str
HEART: str
HEDGEHOG: str
EMPTY: str EMPTY: str
WALL: str
FLOOR: str FLOOR: str
MERCHANT: str
PLAYER: str PLAYER: str
RABBIT: str
SUNFLOWER: str
SWORD: str
TEDDY_BEAR: str
TIGER: str
WALL: str
ASCII_PACK: "TexturePack" ASCII_PACK: "TexturePack"
SQUIRREL_PACK: "TexturePack" SQUIRREL_PACK: "TexturePack"
@ -46,20 +57,21 @@ TexturePack.ASCII_PACK = TexturePack(
tile_bg_color=curses.COLOR_BLACK, tile_bg_color=curses.COLOR_BLACK,
entity_fg_color=curses.COLOR_WHITE, entity_fg_color=curses.COLOR_WHITE,
entity_bg_color=curses.COLOR_BLACK, entity_bg_color=curses.COLOR_BLACK,
EMPTY=' ',
WALL='#',
FLOOR='.',
PLAYER='@',
HEDGEHOG='*',
HEART='',
BOMB='o',
RABBIT='Y',
TIGER='n',
TEDDY_BEAR='8',
MERCHANT='M',
SUNFLOWER='I',
BODY_SNATCH_POTION='S', BODY_SNATCH_POTION='S',
BOMB='o',
EMPTY=' ',
FLOOR='.',
HEART='',
HEDGEHOG='*',
MERCHANT='M',
PLAYER='@',
RABBIT='Y',
SUNFLOWER='I',
SWORD='\u2020', SWORD='\u2020',
TEDDY_BEAR='8',
TIGER='n',
WALL='#',
) )
TexturePack.SQUIRREL_PACK = TexturePack( TexturePack.SQUIRREL_PACK = TexturePack(
@ -69,18 +81,19 @@ TexturePack.SQUIRREL_PACK = TexturePack(
tile_bg_color=curses.COLOR_BLACK, tile_bg_color=curses.COLOR_BLACK,
entity_fg_color=curses.COLOR_WHITE, entity_fg_color=curses.COLOR_WHITE,
entity_bg_color=curses.COLOR_WHITE, entity_bg_color=curses.COLOR_WHITE,
EMPTY=' ',
WALL='🧱',
FLOOR='██',
PLAYER='🐿️ ',
HEDGEHOG='🦔',
HEART='💜',
BOMB='💣',
RABBIT='🐇',
TIGER='🐅',
TEDDY_BEAR='🧸',
MERCHANT='🦜',
SUNFLOWER='🌻',
BODY_SNATCH_POTION='🔀', BODY_SNATCH_POTION='🔀',
BOMB='💣',
EMPTY=' ',
FLOOR='██',
HEART='💜',
HEDGEHOG='🦔',
PLAYER='🐿️ ',
MERCHANT='🦜',
RABBIT='🐇',
SUNFLOWER='🌻',
SWORD='🗡️', SWORD='🗡️',
TEDDY_BEAR='🧸',
TIGER='🐅',
WALL='🧱',
) )