6750584f071f1587052f09396964bdd5c8eae2fd
[naja.git] / naja / widgets / tile.py
1 #from naja.constants import TILE_SIZE
2 from naja.widgets.base import Widget
3 from naja.resources import resources
4
5
6 class TileWidget(Widget):
7     """Widget which holds a tile on the game board."""
8     def __init__(self, pos, image=None):
9         super(TileWidget, self).__init__(pos, (96, 96))
10
11     def prepare(self):
12         pass
13
14     def draw(self, surface):
15         surface.blit(self.surface, self.rect)