InspectPlace型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
One drone at one moment: where it is, the spot it is looking at, and whether it is holding still.
インポート
import type { InspectPlace } from "@johnmorrisdotca/uchusen-rockets";
定義
interface InspectPlace {
where: readonly [
number,
number,
number
];
part: readonly [
number,
number,
number
];
paused: boolean;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
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. |
例
import type { InspectPlace } from "@johnmorrisdotca/uchusen-rockets";
const place: InspectPlace = { where: [8, 1, 0], part: [2, 1, 0], paused: false };
console.log(place.paused);false出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。