Beispiel #1
0
 def update(self):
     MiniGame.update(self)
     self.linesWrong = [l for l in self.linesWrong if l.update() != 3]
             
     if not (self.currentLine == False):
         temp = self.currentLine.update()
         if temp == 1:
             self.objects.append(self.currentLine)
             self.currentLine = False
         elif temp == 2:
             self.linesWrong.append(self.currentLine)
             self.currentLine = False
     pygame.display.set_caption("Score: " + str(self.score))
     self.run = False
     for qa in self.qas:
         if qa.done == False:
             self.run = True