Ejemplo n.º 1
0
    def paint(self, g):

        # due to bug, cannot call super()
        JPanel.paint(self, g)

        if self.inGame:
            self.drawObjects(g)

        else:
            self.gameOver(g)
Ejemplo n.º 2
0
    def paint(self, g):

        # due to bug, cannot call super()
        JPanel.paint(self, g)

        if self.inGame:
            self.drawObjects(g)

        else:
            self.gameOver(g)
Ejemplo n.º 3
0
def paint(self, g):
    JPanel.paint(self, g)
    self.drawer(g)
Ejemplo n.º 4
0
 def paint(self, g):
     JPanel.paint(self, g)
     self.drawer(g)