35 lines
617 B
C++
35 lines
617 B
C++
#ifndef MRNTT_BODY_LIMB_H
|
|
#define MRNTT_BODY_LIMB_H
|
|
|
|
#include <string>
|
|
#include <set>
|
|
#include <cstdint>
|
|
|
|
#include <body/part.h>
|
|
|
|
namespace mrntt {
|
|
namespace body {
|
|
|
|
class Limb
|
|
{
|
|
public:
|
|
Limb(uint32_t _id) : id(_id) {}
|
|
Limb(uint32_t _id,
|
|
const std::string& _name, const std::string& _desc,
|
|
const std::string& _loc)
|
|
: id(_id), name(_name), description(_desc), location(_loc)
|
|
{}
|
|
|
|
~Limb() = default;
|
|
|
|
public:
|
|
uint32_t id;
|
|
std::string name, description, location;
|
|
std::set<uint32_t, Part> parts;
|
|
};
|
|
|
|
} // namespace body
|
|
} // namespace mrntt
|
|
|
|
#endif // MRNTT_BODY_LIMB_H
|