mazeLevelsOfSize関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The levels of one size, in order: 256 of them, each a little harder than the one before.
インポート
import { mazeLevelsOfSize } from "@johnmorrisdotca/meikyuu/levels";
定義
function mazeLevelsOfSize(size: MeikyuuSize): readonly MeikyuuMazeLevel[]
引数
| 名前 | 型 | 説明 |
|---|---|---|
size | "small" | "medium" | "large" | "huge" | The named level size, or numeric tall width specified by this signature. |
戻り値
readonly MeikyuuMazeLevel[]
The levels of one size, in order: 256 of them, each a little harder than the one before.
例
import { mazeLevelsOfSize } from "@johnmorrisdotca/meikyuu/levels";
console.log(mazeLevelsOfSize("small").length);256出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。