from naja.constants import TILE_SIZE, BITS
from naja.resources import resources
from naja.constants import TILE_SIZE, BITS
from naja.resources import resources
- BITS['CYAN']: 'board/tile_cyan.png',
- BITS['MAGENTA']: 'board/tile_magenta.png',
- BITS['YELLOW']: 'board/tile_yellow.png',
+ BITS.CYAN: 'board/tile_cyan.png',
+ BITS.MAGENTA: 'board/tile_magenta.png',
+ BITS.YELLOW: 'board/tile_yellow.png',
True, [(1, 1), (1, 95), (95, 95), (95, 1)], 2)
self.surface.convert_alpha(pygame.display.get_surface())
# Look up the required bits on the board location
True, [(1, 1), (1, 95), (95, 95), (95, 1)], 2)
self.surface.convert_alpha(pygame.display.get_surface())
# Look up the required bits on the board location