(self)
| 64 | self.zombie_list.sort(key=takeTime) |
| 65 | |
| 66 | def setupCars(self): |
| 67 | self.cars = [] |
| 68 | for i in range(self.map_y_len): |
| 69 | _, y = self.map.getMapGridPos(0, i) |
| 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 |