c791a57610231ccd477e14e30ebf6b4d993f2ba9
[naja.git] / naja / widgets / board.py
1 """
2 Widget that holds the game tiles.
3 """
4
5 from .base import Widget
6
7
8 class BoardWidget(Widget):
9     """
10     Widget which holds all the tiles that make up the gameboard.
11     """
12     def __init__(self, pos, image=None):
13         super(BoardWidget, self).__init__(pos, (96, 96))
14
15     def prepare(self):
16         pass
17
18     def draw(self, surface):
19         surface.blit(self.surface, self.rect)