diff options
Diffstat (limited to 'ext')
-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}, |