One true import-style
[naja.git] / naja / widgets / game_bits.py
index 54fa6834623e36e6367a2054ea8db7f7d2471416..fdb10fcd72ba7ef94435697ed8fc26cc30fac0a5 100644 (file)
@@ -2,7 +2,8 @@
 Widget that holds the games's bits.
 """
 
-from .base import Widget
+from naja.constants import BIT_SIZE
+from naja.widgets.base import Widget
 
 
 class GameBitsWidget(Widget):
@@ -10,10 +11,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)