about summary refs log tree commit diff stats
path: root/ext/wittle_generator/Test.cpp
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-27 18:35:57 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-27 18:35:57 -0400
commit6907a45f8b99d2a076ba965d6278f27044b19af9 (patch)
treed78472aa3d8d1495b838588b1a9b236cf262402e /ext/wittle_generator/Test.cpp
parent4f25fa9ae42a0d43c20e954e8e50c66a6b057c92 (diff)
downloadwittle-6907a45f8b99d2a076ba965d6278f27044b19af9.tar.gz
wittle-6907a45f8b99d2a076ba965d6278f27044b19af9.tar.bz2
wittle-6907a45f8b99d2a076ba965d6278f27044b19af9.zip
Can write polys now
Diffstat (limited to 'ext/wittle_generator/Test.cpp')
-rw-r--r--ext/wittle_generator/Test.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/wittle_generator/Test.cpp b/ext/wittle_generator/Test.cpp index 1da6cd8..1a2597a 100644 --- a/ext/wittle_generator/Test.cpp +++ b/ext/wittle_generator/Test.cpp
@@ -6,10 +6,11 @@ int main(int, char**) {
6 generator.setSymbol(Decoration::Exit, 4 * 2, 0); 6 generator.setSymbol(Decoration::Exit, 4 * 2, 0);
7 /*generator.generate(4 * 2 + 1, 4 * 2 + 1, 7 /*generator.generate(4 * 2 + 1, 4 * 2 + 1,
8 {{{Decoration::Triangle | Decoration::Orange, 6}}});*/ 8 {{{Decoration::Triangle | Decoration::Orange, 6}}});*/
9 generator.generate(4 * 2 + 1, 4 * 2 + 1, 9 generator.generate(
10 {{{Decoration::Star | Decoration::Color::Magenta, 4}, 10 4 * 2 + 1, 4 * 2 + 1,
11 {Decoration::Stone | Decoration::Color::Black, 4}, 11 {{{Decoration::Poly | Decoration::Can_Rotate | Decoration::Yellow, 1},
12 {Decoration::Stone | Decoration::Color::White, 4}}}); 12 {Decoration::Poly | Decoration::Yellow, 1},
13 {Decoration::Gap, 6}}});
13 14
14 return 0; 15 return 0;
15} 16}