import pygame
-from naja.constants import BIT_SIZE, BITS
+from naja.constants import BIT_SIZE
from naja.resources import resources
+from naja.resources.mutators import EIGHT_BIT
from naja.widgets.base import Widget
bits = []
bits.extend(
- (i < health, 'health', ()) for i in range(4))
+ (i < health, 'health', (EIGHT_BIT,)) for i in range(4))
bits.extend(
- (i < wins, 'win', ()) for i in range(4))
+ (i < wins, 'win', (EIGHT_BIT,)) for i in range(4))
for pos, (is_set, image, transforms) in enumerate(bits):
img = resources.get_image(