1 #ifndef INC_KURUSVIEW_MMATERIAL_H 2 #define INC_KURUSVIEW_MMATERIAL_H 10 const unsigned int ID;
26 MMaterial(std::string name, std::string colour,
double density,
unsigned int id);
40 unsigned int getId()
const;
52 void setName(
const std::string name);
80 #endif //INC_KURUSVIEW_MMATERIAL_H void setName(const std::string name)
Definition: MMaterial.cpp:12
void setColour(const std::string colour)
setColour - Sets the colour of the material
Definition: MMaterial.cpp:20
void setDensity(double density)
setDensity - Sets the density of the material
Definition: MMaterial.cpp:28
double getDensity() const
Definition: MMaterial.cpp:24
Definition: MMaterial.h:8
std::string getName() const
getName - Gets the name of the material
Definition: MMaterial.cpp:8
std::string getColour() const
getColour - Gets the colour of the material
Definition: MMaterial.cpp:16
friend std::ofstream & operator<<(std::ofstream &os, MMaterial &obj)
Definition: MMaterial.cpp:40