リファレンス · ジャーニーモード:ホーマン遷移・打ち上げ窓・フリップ&バーンの旅
Verdict型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
What a craft can do on a trip, in one plain line, with the lines behind it.
インポート
import type { Verdict } from "@johnmorrisdotca/uchusen-rockets/journey";
定義
interface Verdict {
level: VerdictLevel;
line: string;
because: string[];
playable: boolean;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
level | VerdictLevel | |
line | string | The one line shown beside the picker. |
because | string[] | More lines, each a fact the verdict rests on. |
playable | boolean | Whether Play is offered. |
例
import type { Verdict } from "@johnmorrisdotca/uchusen-rockets/journey";
const verdict: Verdict = { level: "cannot", line: "Not enough fuel.", because: [], playable: false };
console.log(verdict.line, verdict.playable);Not enough fuel. false出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。