1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include "Generate.h"
int main(int, char**) {
Generate generator;
// generator.setFlag(Generate::RegularStartEnd);
/*generator.generate(4 * 2 + 1, 4 * 2 + 1,
{{{Decoration::Triangle | Decoration::Orange, 6}}});*/
// generator.setSymmetry(Panel::Vertical);
generator.setSymbol(Decoration::Exit, 0, 0);
generator.setSymbol(Decoration::Exit, 7 * 2, 0);
generator.setSymbol(Decoration::Exit, 7 * 2, 7 * 2);
generator.generate(7 * 2 + 1, 7 * 2 + 1,
{{{Decoration::Stone | Decoration::Color::White, 10},
{Decoration::Stone | Decoration::Color::Black, 10},
{Decoration::Dot, 10},
{Decoration::Start, 2}}});
return 0;
}
|