X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fwidgets%2Fgame_bits.py;h=fdb10fcd72ba7ef94435697ed8fc26cc30fac0a5;hb=e02543456935626f33b4e4a438e19a32bb43b836;hp=54fa6834623e36e6367a2054ea8db7f7d2471416;hpb=0f233e6d450d863f06f5acddee3bd94f53594d08;p=naja.git diff --git a/naja/widgets/game_bits.py b/naja/widgets/game_bits.py index 54fa683..fdb10fc 100644 --- a/naja/widgets/game_bits.py +++ b/naja/widgets/game_bits.py @@ -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)