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):
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)