def __init__(self):
super(GameScene, self).__init__()
- self.widgets.append(PlayerBitsWidget())
- self.widgets.append(BoardWidget())
- self.widgets.append(GameBitsWidget())
- self.widgets.append(InfoAreaWidget())
+ self.widgets.append(PlayerBitsWidget((0, 0)))
+ self.widgets.append(BoardWidget((0, 60)))
+ self.widgets.append(GameBitsWidget((0, 540)))
+ self.widgets.append(InfoAreaWidget((480, 0)))
def handle_event(self, ev):
if ev.type == pgl.KEYUP and ev.key in (pgl.K_q, pgl.K_ESCAPE):