ACE3/extensions/medical/OpenWound.cpp
2015-05-14 16:23:01 +02:00

20 lines
442 B
C++

#include "OpenWound.h"
#include <sstream>
using namespace ace::medical;
injuries::OpenWound::OpenWound(double anID, double aBodyPart, double bloodloss) : classID(anID), bodyPart(aBodyPart), bloodlossRate(bloodloss)
{
}
injuries::OpenWound::~OpenWound()
{
}
std::string injuries::OpenWound::AsString()
{
std::stringstream stream;
stream << classID << "," << bodyPart << "," << 1 << "," << bloodlossRate;
return stream.str();
}