#include "resource/resource.hpp" #include "inventory/item.hpp" bool Resource::is_Collectable(ItemType item = ItemType::HAND) { if ( collecting_methode == CollectingMethode::HAND) return true; if (collecting_methode == CollectingMethode::PICKAXE_STONE && item == ItemType::PICKAXE_STONE) return true; return false; }