aboutsummaryrefslogtreecommitdiff
path: root/oop2eindopdr/PokemonCard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'oop2eindopdr/PokemonCard.cpp')
-rw-r--r--oop2eindopdr/PokemonCard.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/oop2eindopdr/PokemonCard.cpp b/oop2eindopdr/PokemonCard.cpp
index 9715fc3..95dc93c 100644
--- a/oop2eindopdr/PokemonCard.cpp
+++ b/oop2eindopdr/PokemonCard.cpp
@@ -107,3 +107,12 @@ void PokemonCard::raw_load_cache(const char* cache_path) {
std::string PokemonCard::short_identifier() {
return this->name + " (" + this->id + ")";
}
+
+std::string PokemonCard::image_location() {
+ return this->pokedex->cache->prefix_cache_path(prefix_cache_path("card.png").c_str());
+}
+
+std::string PokemonCard::image_location_hires() {
+ return this->pokedex->cache->prefix_cache_path(prefix_cache_path("card_hires.png").c_str());
+}
+