X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fwidgets%2Fplayer_bits.py;h=0214bda757639235fd601605632ddd1821235e57;hb=7ce9a5e2cbdc5a2dbdea5d000cad3e59628e9720;hp=e82f173df4cb0d0e5a84c1c6b2ee0132d5f63bc7;hpb=01008fbdb6fd368d2c6df854725d608d6a3fb0cc;p=naja.git diff --git a/naja/widgets/player_bits.py b/naja/widgets/player_bits.py index e82f173..0214bda 100644 --- a/naja/widgets/player_bits.py +++ b/naja/widgets/player_bits.py @@ -3,6 +3,7 @@ Widget that holds the player's bits. """ from .base import Widget +from naja.constants import BIT_SIZE class PlayerBitsWidget(Widget): @@ -10,10 +11,11 @@ class PlayerBitsWidget(Widget): Widget which holds the player's bits. """ def __init__(self, pos, image=None): - super(PlayerBitsWidget, self).__init__(pos, (96, 96)) + super(PlayerBitsWidget, 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)