dkh.dungeon

Unstable

Members

Functions

neighbors4
auto neighbors4(int[2] p)
neighbors4
auto neighbors4(int[2] p, in Dungeon dg)

list neighbors only inside

neighbors8
auto neighbors8(int[2] p, in Dungeon dg)

list neighbors only inside

Static variables

direction4
int[2][4] direction4;

[+row, +col, -row, -col]

direction8
int[2][8] direction8;

[+col, +row+col, +row, +row-col, ...]

Structs

Dungeon
struct Dungeon

プロコンでよくある2Dダンジョン探索を支援するライブラリ int[2] = [row, column]をベースとする

Meta