dkh.dungeon

Undocumented in source.

Members

Functions

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

list neighbors only inside

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

list neighbors only inside

Static functions

addInt2
int[2] addInt2(int[2] a, int[2] b)
Undocumented in source. Be warned that the author may not have intended to support it.

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