Just screwing around

This commit is contained in:
Pyrex 2023-09-21 20:09:03 -07:00
parent 354a114e1c
commit d489810154
3 changed files with 11 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 915 B

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

@ -31,8 +31,17 @@ void main() async {
while (true) {
clear();
Vault output = Generator(math.Random(seed), vaults)
.generate(Requirement(16, 32, 16, 24, DirectionSet({})));
Vault output = Generator(math.Random(seed), vaults).generate(Requirement(
16,
32,
16,
24,
DirectionSet({
Direction.up,
Direction.down,
Direction.left,
Direction.right,
})));
var geo.Size(dx: w, dy: h) = output.size;
for (var y = 0; y < h; y++) {
for (var x = 0; x < w; x++) {