tsunagiRole関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A level's part in its block's lesson, from the data the level script wrote (marks.data.ts), without its size's boards; null for none.
インポート
import { tsunagiRole } from "@johnmorrisdotca/tsunagi";
定義
function tsunagiRole(size: number, level: number, set?: TsunagiSet): TwistRole | null
引数
| 名前 | 型 | 説明 |
|---|---|---|
size | number | The number of cells on each side of the board. |
level | number | The one-based level number. |
set (省略可) | TsunagiSet | The native level set or palette specified by the signature. |
戻り値
TwistRole | null
A level's part in its block's lesson, from the data the level script wrote (marks.data.ts), without its size's boards; null for none.
例
import { tsunagiRole } from "@johnmorrisdotca/tsunagi";
console.log(tsunagiRole(4,15));null出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。