Files

35 lines
635 B
C++
Raw Permalink Normal View History

2025-09-14 13:16:02 -04:00
#ifndef MRNTT_BODYMAP_LIMB_H
#define MRNTT_BODYMAP_LIMB_H
#include <string>
#include <set>
#include <cstdint>
2025-09-14 13:16:02 -04:00
#include <bodyMap/part.h>
2025-07-22 02:03:09 -04:00
namespace mrntt {
2025-09-14 13:16:02 -04:00
namespace bodyMap {
2025-07-22 02:03:09 -04:00
class Limb
{
public:
2025-07-22 02:03:09 -04:00
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)
{}
2025-07-22 02:03:09 -04:00
~Limb() = default;
public:
uint32_t id;
std::string name, description, location;
2025-07-22 02:03:09 -04:00
std::set<uint32_t, Part> parts;
};
2025-09-14 13:16:02 -04:00
} // namespace bodyMap
2025-07-22 02:03:09 -04:00
} // namespace mrntt
2025-09-14 13:16:02 -04:00
#endif // MRNTT_BODYMAP_LIMB_H