base_menu = None
- def __init__(self):
- super(CreditsScene, self).__init__()
+ def __init__(self, state):
+ super(CreditsScene, self).__init__(state)
self.widgets.append(TextWidget((60, 10), 'Credits', fontsize=32,
colour='white'))
self.widgets.append(TextWidget((60, 30),
Gameboard scene.
"""
- def __init__(self):
- super(GameScene, self).__init__()
+ def __init__(self, state):
+ super(GameScene, self).__init__(state)
self.widgets.append(PlayerBitsWidget((0, 0)))
self.widgets.append(BoardWidget((0, 60)))
self.widgets.append(GameBitsWidget((0, 540)))
class MenuScene(Scene):
- def __init__(self):
- super(MenuScene, self).__init__()
+ def __init__(self, state):
+ super(MenuScene, self).__init__(state)
self.widgets.append(TextWidget((10, 10), 'Game', fontsize=32,
colour='white'))
self.widgets.append(TextWidget((10, 40), 'Credits', fontsize=32,