static class WoodlandMansionGenerator.FlagMatrix extends Object
Modifier and Type | Field and Description |
---|---|
private int[][] |
array |
private int |
fallback |
private int |
m |
private int |
n |
Constructor and Description |
---|
FlagMatrix(int n,
int m,
int fallback) |
Modifier and Type | Method and Description |
---|---|
boolean |
anyMatchAround(int i,
int j,
int value) |
void |
fill(int i0,
int j0,
int i1,
int j1,
int value) |
int |
get(int i,
int j) |
void |
set(int i,
int j,
int value) |
void |
update(int i,
int j,
int expected,
int newValue) |