diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-03-14 11:00:32 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-03-14 11:00:32 -0400 |
commit | d00531cb6c36e061bf5b9a4361ea74ae473d6946 (patch) | |
tree | ebf3d047536de5383da4935f5c7fa75a99586f54 | |
parent | 764e5c830c1148aaf15569f797d5ace2f7074c0e (diff) | |
download | wittle-d00531cb6c36e061bf5b9a4361ea74ae473d6946.tar.gz wittle-d00531cb6c36e061bf5b9a4361ea74ae473d6946.tar.bz2 wittle-d00531cb6c36e061bf5b9a4361ea74ae473d6946.zip |
-rw-r--r-- | ext/wittle_generator/wittle_generator.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/wittle_generator/wittle_generator.cpp b/ext/wittle_generator/wittle_generator.cpp index 0dcc6c0..56f3d9d 100644 --- a/ext/wittle_generator/wittle_generator.cpp +++ b/ext/wittle_generator/wittle_generator.cpp | |||
@@ -1724,9 +1724,11 @@ Rice::Object wittle_generator_generate_expert(Rice::Object /* self */) { | |||
1724 | {Decoration::Triangle | Decoration::White, 1}}}); | 1724 | {Decoration::Triangle | Decoration::White, 1}}}); |
1725 | }, | 1725 | }, |
1726 | [](Generate& generator) { | 1726 | [](Generate& generator) { |
1727 | generator.setFlag(Generate::RegularStartEnd); | 1727 | generator.setGridSize(5, 5); |
1728 | generator.setSymbol(Decoration::Start, 10, 10); | ||
1729 | generator.setSymbol(Decoration::Exit, 0, 0); | ||
1728 | generator.generate( | 1730 | generator.generate( |
1729 | 4, 4, | 1731 | 5, 5, |
1730 | {{{Decoration::Star | Decoration::White, 3}, | 1732 | {{{Decoration::Star | Decoration::White, 3}, |
1731 | {Decoration::Star | Decoration::Black, 8}, | 1733 | {Decoration::Star | Decoration::Black, 8}, |
1732 | {Decoration::Star | Decoration::Magenta, 6}, | 1734 | {Decoration::Star | Decoration::Magenta, 6}, |