Searched refs:autopilot (Results 1 – 4 of 4) sorted by relevance
85 val autopilot = Autopilot(universe.ship, universe) in onAttachedToWindow() constant86 universe.ship.autopilot = autopilot in onAttachedToWindow()87 universe.add(autopilot) in onAttachedToWindow()88 autopilot.enabled = true in onAttachedToWindow()
89 ship.autopilot?.let { drawAutopilot(it) } in ZoomedDrawScope()335 fun ZoomedDrawScope.drawAutopilot(autopilot: Autopilot) { in ZoomedDrawScope()338 autopilot.target?.let { target -> in ZoomedDrawScope()340 rotateRad(autopilot.universe.now * PI2f / 10f, target.pos) { in ZoomedDrawScope()345 radius = target.radius + autopilot.brakingDistance, in ZoomedDrawScope()353 radius = target.radius + autopilot.landingAltitude / 2, in ZoomedDrawScope()356 style = Stroke(autopilot.landingAltitude) in ZoomedDrawScope()362 start = autopilot.ship.pos, in ZoomedDrawScope()363 end = autopilot.leadingPos, in ZoomedDrawScope()369 center = autopilot.leadingPos, in ZoomedDrawScope()
197 universe.ship.autopilot?.let { autopilot -> in Telemetry() method198 if (autopilot.enabled) { in Telemetry()208 text = autopilot.telemetry in Telemetry()
442 var autopilot: Autopilot? = null variable in Spacecraft