Add tiles to the board. Skip draw for other game scene widgets for now
[naja.git] / naja / widgets / game_bits.py
index 54fa6834623e36e6367a2054ea8db7f7d2471416..875558cd76b068ffcf448cc2a7bb2c6bdbb6da74 100644 (file)
@@ -2,6 +2,8 @@
 Widget that holds the games's bits.
 """
 
+from naja.constants import BIT_SIZE
+
 from .base import Widget
 
 
@@ -10,10 +12,11 @@ class GameBitsWidget(Widget):
     Widget which holds the game's bits.
     """
     def __init__(self, pos, image=None):
-        super(GameBitsWidget, self).__init__(pos, (96, 96))
+        super(GameBitsWidget, self).__init__(pos, BIT_SIZE)
 
     def prepare(self):
         pass
 
     def draw(self, surface):
-        surface.blit(self.surface, self.rect)
+        pass
+        #surface.blit(self.surface, self.rect)