7 lines
278 B
C++
7 lines
278 B
C++
#include "ConstructionMaterial.h"
|
|
|
|
ConstructionMaterial::ConstructionMaterial(std::string item, unsigned int amount): item(item), amount(amount) {}
|
|
|
|
std::string ConstructionMaterial::toString() {
|
|
return "Item: " + item + "\nAmount: " + std::to_string(amount) + "\n";
|
|
} |