diff options
Diffstat (limited to 'oop2eindopdr/Pokedex.h')
-rw-r--r-- | oop2eindopdr/Pokedex.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/oop2eindopdr/Pokedex.h b/oop2eindopdr/Pokedex.h index e5730ee..1d6a269 100644 --- a/oop2eindopdr/Pokedex.h +++ b/oop2eindopdr/Pokedex.h @@ -4,8 +4,9 @@ #include <vector> #include "CacheManager.h" -#include "PokemonCard.h" -#include "PokemonTCGAPIClient.h" + +class PokemonCard; +class PokemonTCGAPIClient; /** @brief user pokedex class, handles caching and api access silently */ class Pokedex { @@ -24,6 +25,8 @@ private: CacheManager* cache = nullptr; PokemonTCGAPIClient* api = nullptr; + friend class PokemonCard; + public: Pokedex(); virtual ~Pokedex(); |