stepFor関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The milliseconds the water takes through one cell, so that the deepest cell is reached in FILL_MS at most.
インポート
import { stepFor } from "@johnmorrisdotca/suido/draw";
定義
function stepFor(deepest: number): number
引数
| 名前 | 型 | 説明 |
|---|---|---|
deepest | number | The greatest water depth, measured in cell steps. |
戻り値
number
The milliseconds the water takes through one cell, so that the deepest cell is reached in FILL_MS at most.
例
import { stepFor } from "@johnmorrisdotca/suido/draw";
console.log(stepFor(10));90出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。