From be75518bbe5076736a7a1c75d981449b5ca8d016 Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 11 May 2014 18:21:40 +0200 Subject: [PATCH] Placeholder tile --- naja/widgets/tile.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 naja/widgets/tile.py diff --git a/naja/widgets/tile.py b/naja/widgets/tile.py new file mode 100644 index 0000000..6750584 --- /dev/null +++ b/naja/widgets/tile.py @@ -0,0 +1,15 @@ +#from naja.constants import TILE_SIZE +from naja.widgets.base import Widget +from naja.resources import resources + + +class TileWidget(Widget): + """Widget which holds a tile on the game board.""" + def __init__(self, pos, image=None): + super(TileWidget, self).__init__(pos, (96, 96)) + + def prepare(self): + pass + + def draw(self, surface): + surface.blit(self.surface, self.rect) -- 2.34.1