Just screwing around
This commit is contained in:
parent
354a114e1c
commit
d489810154
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 |
@ -31,8 +31,17 @@ void main() async {
|
|||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
clear();
|
clear();
|
||||||
Vault output = Generator(math.Random(seed), vaults)
|
Vault output = Generator(math.Random(seed), vaults).generate(Requirement(
|
||||||
.generate(Requirement(16, 32, 16, 24, DirectionSet({})));
|
16,
|
||||||
|
32,
|
||||||
|
16,
|
||||||
|
24,
|
||||||
|
DirectionSet({
|
||||||
|
Direction.up,
|
||||||
|
Direction.down,
|
||||||
|
Direction.left,
|
||||||
|
Direction.right,
|
||||||
|
})));
|
||||||
var geo.Size(dx: w, dy: h) = output.size;
|
var geo.Size(dx: w, dy: h) = output.size;
|
||||||
for (var y = 0; y < h; y++) {
|
for (var y = 0; y < h; y++) {
|
||||||
for (var x = 0; x < w; x++) {
|
for (var x = 0; x < w; x++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user