diff options
Diffstat (limited to 'wizard.h')
-rw-r--r-- | wizard.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/wizard.h b/wizard.h index 9b27143..a02197b 100644 --- a/wizard.h +++ b/wizard.h | |||
@@ -1,6 +1,8 @@ | |||
1 | #ifndef WIZARD_H_1014B13E | 1 | #ifndef WIZARD_H_1014B13E |
2 | #define WIZARD_H_1014B13E | 2 | #define WIZARD_H_1014B13E |
3 | 3 | ||
4 | #include <Magick++.h> | ||
5 | |||
4 | #include <random> | 6 | #include <random> |
5 | #include <string> | 7 | #include <string> |
6 | 8 | ||
@@ -9,17 +11,17 @@ | |||
9 | 11 | ||
10 | class wizard { | 12 | class wizard { |
11 | public: | 13 | public: |
12 | wizard(std::string cardsPath, std::string cachePath, std::string outputPath, | 14 | wizard(const cardset& cards, const imagestore& images, std::string text, |
13 | std::string jsonPath, std::mt19937& rng); | 15 | std::mt19937& rng); |
14 | 16 | ||
15 | void run(); | 17 | Magick::Image run(); |
16 | 18 | ||
17 | private: | 19 | private: |
18 | cardset cards_; | 20 | const cardset& cards_; |
19 | imagestore images_; | 21 | const imagestore& images_; |
20 | std::string outputPath_; | 22 | std::string text_; |
21 | std::string jsonPath_; | 23 | |
22 | std::mt19937& rng_; | 24 | std::mt19937 rng_; |
23 | }; | 25 | }; |
24 | 26 | ||
25 | #endif /* end of include guard: WIZARD_H_1014B13E */ | 27 | #endif /* end of include guard: WIZARD_H_1014B13E */ |