diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-11-04 02:19:09 -0500 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-11-04 02:19:09 -0500 |
| commit | 76bc3b3677062c0c1a6b9fa08ff20d12e470159c (patch) | |
| tree | 390897784acdec4f002df4a13e5d63f1f641fb40 /wizard.h | |
| parent | 5a65625cb589b2cb5b336e1fa5748df8dcdb8f6a (diff) | |
| download | wizard-76bc3b3677062c0c1a6b9fa08ff20d12e470159c.tar.gz wizard-76bc3b3677062c0c1a6b9fa08ff20d12e470159c.tar.bz2 wizard-76bc3b3677062c0c1a6b9fa08ff20d12e470159c.zip | |
Some old refactoring + some new refactoring
Diffstat (limited to 'wizard.h')
| -rw-r--r-- | wizard.h | 25 |
1 files changed, 25 insertions, 0 deletions
| diff --git a/wizard.h b/wizard.h new file mode 100644 index 0000000..9b27143 --- /dev/null +++ b/wizard.h | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | #ifndef WIZARD_H_1014B13E | ||
| 2 | #define WIZARD_H_1014B13E | ||
| 3 | |||
| 4 | #include <random> | ||
| 5 | #include <string> | ||
| 6 | |||
| 7 | #include "cardset.h" | ||
| 8 | #include "imagestore.h" | ||
| 9 | |||
| 10 | class wizard { | ||
| 11 | public: | ||
| 12 | wizard(std::string cardsPath, std::string cachePath, std::string outputPath, | ||
| 13 | std::string jsonPath, std::mt19937& rng); | ||
| 14 | |||
| 15 | void run(); | ||
| 16 | |||
| 17 | private: | ||
| 18 | cardset cards_; | ||
| 19 | imagestore images_; | ||
| 20 | std::string outputPath_; | ||
| 21 | std::string jsonPath_; | ||
| 22 | std::mt19937& rng_; | ||
| 23 | }; | ||
| 24 | |||
| 25 | #endif /* end of include guard: WIZARD_H_1014B13E */ | ||
