diff options
author | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-01-25 15:58:38 +0200 |
---|---|---|
committer | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-01-25 15:58:38 +0200 |
commit | 0e7d9158e4cc6ac51bfab2fa394009dc611e6e6e (patch) | |
tree | a321bddd685a4f953640c1b550c07af367763365 /tui/static.py | |
parent | 27057a601c43ab5a6dcaa5b396c6b3d891c921b9 (diff) |
Addind rest of enum names in tui.static.
Diffstat (limited to 'tui/static.py')
-rw-r--r-- | tui/static.py | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tui/static.py b/tui/static.py index 267b061..2b3693a 100644 --- a/tui/static.py +++ b/tui/static.py @@ -59,17 +59,17 @@ class TileType: TileTypes = { Tile.BLANK: TileType( "[ ]", [(0x7,0), (0x7,0), (0x7,0)] ), - 1: TileType( "[1]", [(0xA,0), (0xA,0), (0xA,0)] ), - 2: TileType( "[2]", [(0xB,0), (0xB,0), (0xB,0)] ), - 3: TileType( "[3]", [(0xD,0), (0xD,0), (0xD,0)] ), - 4: TileType( "[4]", [(0x9,0), (0x9,0), (0x9,0)] ), - 5: TileType( "[5]", [(0x9,0), (0x9,0), (0x9,0)] ), - 6: TileType( "[6]", [(0x9,0), (0x9,0), (0x9,0)] ), - 7: TileType( "[7]", [(0x9,0), (0x9,0), (0x9,0)] ), - 8: TileType( "[8]", [(0x9,0), (0x9,0), (0x9,0)] ), - 9: TileType( "[@]", [(0xF,1), (0xF,1), (0xF,1)] ), - 10: TileType( "[×]", [(0x8,7), (0x1,7), (0x8,7)] ), - 11: TileType( "[•]", [(0x8,7), (0x2,7), (0x8,7)] ), - 12: TileType( "[#]", [(0x8,7), (0x8,7), (0x8,7)] ), - 13: TileType( "[?]", [(0x8,7), (0x0,7), (0x8,7)] ) + Tile.ONE: TileType( "[1]", [(0xA,0), (0xA,0), (0xA,0)] ), + Tile.TWO: TileType( "[2]", [(0xB,0), (0xB,0), (0xB,0)] ), + Tile.THREE: TileType( "[3]", [(0xD,0), (0xD,0), (0xD,0)] ), + Tile.FOUR: TileType( "[4]", [(0x9,0), (0x9,0), (0x9,0)] ), + Tile.FIVE: TileType( "[5]", [(0x9,0), (0x9,0), (0x9,0)] ), + Tile.SIX: TileType( "[6]", [(0x9,0), (0x9,0), (0x9,0)] ), + Tile.SEVEN: TileType( "[7]", [(0x9,0), (0x9,0), (0x9,0)] ), + Tile.EIGHT: TileType( "[8]", [(0x9,0), (0x9,0), (0x9,0)] ), + Tile.BOMB: TileType( "[@]", [(0xF,1), (0xF,1), (0xF,1)] ), + Tile.FLAG_BOMB: TileType( "[×]", [(0x8,7), (0x1,7), (0x8,7)] ), + Tile.FLAG_FREE: TileType( "[•]", [(0x8,7), (0x2,7), (0x8,7)] ), + Tile.UNOPENED: TileType( "[#]", [(0x8,7), (0x8,7), (0x8,7)] ), + Tile.FLAG_UNKNOWN: TileType( "[?]", [(0x8,7), (0x0,7), (0x8,7)] ) } |