Reference · Rockets, variants, parts and the fit check
InspectPlacetype
One drone at one moment: where it is, the spot it is looking at, and whether it is holding still.
Import it
import type { InspectPlace } from "@johnmorrisdotca/uchusen-rockets";
Definition
interface InspectPlace {
where: readonly [
number,
number,
number
];
part: readonly [
number,
number,
number
];
paused: boolean;
}
Members
| Name | Type | Description |
|---|---|---|
where | readonly [number, number, number] | |
part | readonly [number, number, number] | |
paused | boolean | True while the drone holds still and the light stays on the hull. |
Examples
import type { InspectPlace } from "@johnmorrisdotca/uchusen-rockets";
const place: InspectPlace = { where: [8, 1, 0], part: [2, 1, 0], paused: false };
console.log(place.paused);falseWhat it prints (run when this page was built)