summaryrefslogtreecommitdiff
path: root/src/sliceitoff/player/static.py
blob: 415f1cd554647607e419303453655b8814f6762c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
    ]