summaryrefslogtreecommitdiff
path: root/tui/static.py
diff options
context:
space:
mode:
Diffstat (limited to 'tui/static.py')
-rw-r--r--tui/static.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tui/static.py b/tui/static.py
index 391e3f1..267b061 100644
--- a/tui/static.py
+++ b/tui/static.py
@@ -1,6 +1,7 @@
""" tui/static.py - Staattiset määritykset tui:ssa tarvittaville jutuille. """
from enum import Enum
from dataclasses import dataclass
+from board import Tile
class Action(Enum):
""" tominnot, joita voidaan saada palautusrvona """
@@ -57,7 +58,7 @@ class TileType:
TileTypes = {
- 0: TileType( "[ ]", [(0x7,0), (0x7,0), (0x7,0)] ),
+ 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)] ),