X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;ds=sidebyside;f=naja%2Fwidgets%2Fgame_bits.py;fp=naja%2Fwidgets%2Fgame_bits.py;h=54fa6834623e36e6367a2054ea8db7f7d2471416;hb=847d271607652c00e62298a37987aae452719b61;hp=0000000000000000000000000000000000000000;hpb=d7291141b604ffc7941074ae1adb9596c5f314ce;p=naja.git diff --git a/naja/widgets/game_bits.py b/naja/widgets/game_bits.py new file mode 100644 index 0000000..54fa683 --- /dev/null +++ b/naja/widgets/game_bits.py @@ -0,0 +1,19 @@ +""" +Widget that holds the games's bits. +""" + +from .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)) + + def prepare(self): + pass + + def draw(self, surface): + surface.blit(self.surface, self.rect)