本文へ移動

Meikyuu迷宮

シード付きの迷路と矢印パズルを作り、番号付きの問題を進め、平面や立体表面で遊べます。

「迷宮」は迷路のように入り組んだ場所を表す言葉です。 名前について(英語)

目次

リファレンス · 遊べる立体表面の迷路

SolidCellPlace型

リファレンスの説明と例は英語です。見出しと目次は日本語です。

Where a cell is on the picture, in pixels from the top left of the box.

インポート

import type { SolidCellPlace } from "@johnmorrisdotca/meikyuu/3d/play";

定義

type SolidCellPlace = {
    x: number;
    y: number;
    visible: boolean;
    facing: number;
    room: number;
};

メンバー

名前型説明
xnumber
ynumber
visibleboolean
facingnumber
roomnumber

例

import type { SolidCellPlace } from "@johnmorrisdotca/meikyuu/3d/play";

const value: SolidCellPlace = {x:320,y:240,visible:true,facing:1,room:100};
console.log(value);
{ x: 320, y: 240, visible: true, facing: 1, room: 100 }

出力(このページを作ったときに実行した結果)

ソースを見るGitHub で編集@johnmorrisdotca/meikyuu 3.2.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。