(self, surface, current_time, mouse_pos, mouse_click)
| 70 | self.cars.append(plant.Car(-25, y+20, i)) |
| 71 | |
| 72 | def update(self, surface, current_time, mouse_pos, mouse_click): |
| 73 | self.current_time = self.game_info[c.CURRENT_TIME] = current_time |
| 74 | if self.state == c.CHOOSE: |
| 75 | self.choose(mouse_pos, mouse_click) |
| 76 | elif self.state == c.PLAY: |
| 77 | self.play(mouse_pos, mouse_click) |
| 78 | |
| 79 | self.draw(surface) |
| 80 | |
| 81 | def initBowlingMap(self): |
| 82 | print('initBowlingMap') |