def render(self, draw: DrawingTool): if self.aerial_strike.finished: draw.color(draw.pink) draw.crosshair(self.aerial.target) draw.color(draw.lime) draw.polyline(self._flight_path) else: self.aerial_strike.render(draw)
def render(self, draw: DrawingTool): if self.landing: draw.color(draw.cyan) draw.polyline(self.trajectory) if self.landing_pos: draw.crosshair(self.landing_pos) draw.color(draw.green) draw.vector(self.car.position, forward(self.aerial_turn.target) * 200) draw.color(draw.red) draw.vector(self.car.position, self.car.forward() * 200)
def render(self, draw: DrawingTool): super().render(draw) draw.color(draw.lime if self.aerialing else ( draw.orange if self.too_early else draw.red)) draw.polyline(self._flight_path)