diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-11-04 20:42:36 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-11-04 20:42:36 -0500 |
commit | 4bc851544831e37b6173d0ad05806fd841e216fb (patch) | |
tree | d6470fdb41fa6d9a87dd0a937c34d50af5529c35 /cardset.h | |
parent | b5cc6373fbfe2db20bb14216242c2c56f9bfbafe (diff) | |
download | wizard-main.tar.gz wizard-main.tar.bz2 wizard-main.zip |
Diffstat (limited to 'cardset.h')
-rw-r--r-- | cardset.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cardset.h b/cardset.h index 217d859..2e39f5c 100644 --- a/cardset.h +++ b/cardset.h | |||
@@ -17,14 +17,16 @@ struct card { | |||
17 | std::string imageUri; | 17 | std::string imageUri; |
18 | card_frame frame; | 18 | card_frame frame; |
19 | std::string uuid; | 19 | std::string uuid; |
20 | std::string artist; | ||
20 | 21 | ||
21 | card(size_t id, std::string name, std::string imageUri, card_frame frame, | 22 | card(size_t id, std::string name, std::string imageUri, card_frame frame, |
22 | std::string uuid) | 23 | std::string uuid, std::string artist) |
23 | : id(id), | 24 | : id(id), |
24 | name(std::move(name)), | 25 | name(std::move(name)), |
25 | imageUri(std::move(imageUri)), | 26 | imageUri(std::move(imageUri)), |
26 | frame(frame), | 27 | frame(frame), |
27 | uuid(std::move(uuid)) {} | 28 | uuid(std::move(uuid)), |
29 | artist(std::move(artist)) {} | ||
28 | }; | 30 | }; |
29 | 31 | ||
30 | class cardset { | 32 | class cardset { |