Add tiles to the board. Skip draw for other game scene widgets for now
[naja.git] / naja / widgets / info_area.py
index 2f9331169284415cb2875de7c43c829d1ca971f7..2a9b50f78ea4a612ddb269f9eb330e9e0c0be7d6 100644 (file)
@@ -2,6 +2,8 @@
 Widget for the game board information area.
 """
 
+from naja.constants import INFO_SIZE
+
 from .base import Widget
 
 
@@ -10,10 +12,11 @@ class InfoAreaWidget(Widget):
     Widget for the game board information area.
     """
     def __init__(self, pos, image=None):
-        super(InfoAreaWidget, self).__init__(pos, (96, 96))
+        super(InfoAreaWidget, self).__init__(pos, INFO_SIZE)
 
     def prepare(self):
         pass
 
     def draw(self, surface):
-        surface.blit(self.surface, self.rect)
+        pass
+        #surface.blit(self.surface, self.rect)