diff options
Diffstat (limited to 'src/sliceitoff/player/static.py')
-rw-r--r-- | src/sliceitoff/player/static.py | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/sliceitoff/player/static.py b/src/sliceitoff/player/static.py new file mode 100644 index 0000000..415f1cd --- /dev/null +++ b/src/sliceitoff/player/static.py @@ -0,0 +1,35 @@ +""" player.static - static data related to player - now just slicer """ +from dataclasses import dataclass +from display import CGA_COLORS + +@dataclass +class SLICER: + """ Slicer tool """ + DIMENSIONS = (32, 8) + COLORS = [ + CGA_COLORS[0], + CGA_COLORS[15], + CGA_COLORS[9], + CGA_COLORS[14], + CGA_COLORS[12], + CGA_COLORS[4], + (0,0,0,0) + ] + IMAGE = [ + 0,0,0,6,6,6,6,6,6,6,6,6,6,6,0,0, + 0,0,6,6,6,6,6,6,6,6,6,6,6,0,0,0, + 6,6,0,0,0,0,0,6,6,6,6,6,6,0,0,1, + 1,0,0,6,6,6,6,6,6,0,0,0,0,0,6,6, + 6,6,5,5,4,4,0,0,0,0,0,0,0,0,1,1, + 1,1,0,0,0,0,0,0,0,0,4,4,5,5,6,6, + 6,6,5,5,4,4,4,3,4,3,3,2,0,1,1,0, + 0,1,1,0,2,3,3,3,4,3,4,4,5,5,6,6, + 6,6,5,5,4,4,3,4,3,3,3,2,0,1,1,0, + 0,1,1,0,2,3,3,4,3,4,4,4,5,5,6,6, + 6,6,5,5,4,4,0,0,0,0,0,0,0,0,1,1, + 1,1,0,0,0,0,0,0,0,0,4,4,5,5,6,6, + 6,6,0,0,0,0,0,6,6,6,6,6,6,0,0,1, + 1,0,0,6,6,6,6,6,6,0,0,0,0,0,6,6, + 0,0,0,6,6,6,6,6,6,6,6,6,6,6,0,0, + 0,0,6,6,6,6,6,6,6,6,6,6,6,0,0,0 + ] |