HullStack型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A stack of hull layers for a role, outside in.
インポート
import type { HullStack } from "@johnmorrisdotca/uchusen-rockets";
定義
interface HullStack {
role: string;
why: string;
layers: readonly HullLayer[];
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
role | string | |
why | string | What the stack is chosen for. |
layers | readonly HullLayer[] |
例
import { HULL_STACKS, type HullStack } from "@johnmorrisdotca/uchusen-rockets";
const stack: HullStack = HULL_STACKS.explorer;
console.log(stack.role, stack.layers.length);Explorer 7出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。