#include "Ressource.h"

Ressource::Ressource() : name_m("R_default"), pph_m(0) {}

Ressource::Ressource(const std::string& name, int value) : name_m(name), pph_m(value) {}

std::string Ressource::getName() const
{
    return name_m;
}

int Ressource::getValue() const
{
    return pph_m;
}

void Ressource::printRessource() const
{
    std::cout << name_m << " : " << pph_m << std::endl;
}