Files
salmanoff/smocore/include/marionette/body/limb.h
T

35 lines
617 B
C++
Raw Normal View History

2025-07-22 02:03:09 -04:00
#ifndef MRNTT_BODY_LIMB_H
#define MRNTT_BODY_LIMB_H
#include <string>
#include <set>
#include <cstdint>
2025-07-22 02:03:09 -04:00
#include <body/part.h>
2025-07-22 02:03:09 -04:00
namespace mrntt {
namespace body {
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-07-22 02:03:09 -04:00
} // namespace body
} // namespace mrntt
#endif // MRNTT_BODY_LIMB_H