Rename these files and change ifdef guards
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#ifndef MRNTT_BODYMAP_LIMB_H
|
||||
#define MRNTT_BODYMAP_LIMB_H
|
||||
|
||||
#include <string>
|
||||
#include <set>
|
||||
#include <cstdint>
|
||||
|
||||
#include <bodyMap/part.h>
|
||||
|
||||
namespace mrntt {
|
||||
namespace bodyMap {
|
||||
|
||||
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 bodyMap
|
||||
} // namespace mrntt
|
||||
|
||||
#endif // MRNTT_BODYMAP_LIMB_H
|
||||
Reference in New Issue
Block a user