ACE3/extensions/medical/OpenWound.cpp
2015-05-04 00:02:39 +02:00

20 lines
451 B
C++

#include "OpenWound.h"
#include <sstream>
using namespace ace::medical;
injuries::OpenWound::OpenWound(unsigned int anID, unsigned int aBodyPart, unsigned int 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();
}