38 lines
796 B
C++
Executable File
38 lines
796 B
C++
Executable File
#include <stdint.h>
|
|
|
|
#include "../functions/AbstractionLayers/Layer1/AbstractionLayer_1_Properties.h"
|
|
#include "../functions/AbstractionLayers/DestructionPower/DestructionPower_Properties.h"
|
|
class Part
|
|
{
|
|
public:
|
|
Part() : m_partID(0) {}
|
|
~Part() {}
|
|
|
|
int32_t GetPartID () const
|
|
{
|
|
return m_partID;
|
|
}
|
|
|
|
void SetPartID(const int32_t partID)
|
|
{
|
|
m_partID = partID;
|
|
}
|
|
|
|
uint8_t GetNumOfRotations () const
|
|
{
|
|
return m_numOfRotations;
|
|
}
|
|
|
|
void SetNumOfRotations(const uint8_t numOfRotations)
|
|
{
|
|
m_numOfRotations = numOfRotations;
|
|
}
|
|
|
|
AbstractionLayer_1_Properties m_test1;
|
|
DestructionPower_Properties m_destruction;
|
|
|
|
private:
|
|
int32_t m_partID;
|
|
uint8_t m_numOfRotations;
|
|
};
|