BIT_MAP = {
- 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
- card = self.state.gameboard.board_locations[self.board_pos]
+ card = self.state.board_locations[self.board_pos]
bits = []
for action in card.actions:
if action.required_bits: