aboutsummaryrefslogtreecommitdiff
path: root/oop2eindopdr/Pokedex.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-12-23 13:55:05 +0100
committerlonkaars <loek@pipeframe.xyz>2022-12-23 13:55:05 +0100
commit295ee857b9b46c27e80051700278e3075590d823 (patch)
tree276bbadb556312e8cf6981962ef1b341bb0d2010 /oop2eindopdr/Pokedex.h
parent9eb8aa6bab40bd58e70cb6124e462e1a3d47edb7 (diff)
WIP
Diffstat (limited to 'oop2eindopdr/Pokedex.h')
-rw-r--r--oop2eindopdr/Pokedex.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/oop2eindopdr/Pokedex.h b/oop2eindopdr/Pokedex.h
new file mode 100644
index 0000000..abe8bef
--- /dev/null
+++ b/oop2eindopdr/Pokedex.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#include <string>
+#include <vector>
+
+#include "PokemonCard.h"
+
+class Pokedex {
+private:
+ std::vector<PokemonCard*> cards;
+ virtual void add_cards();
+
+public:
+ Pokedex();
+ virtual ~Pokedex();
+
+ /** @brief search cards that contain `query` in id field */
+ virtual PokemonCard* search_card_by_id(std::string query);
+};