2017-11-17 22:10:36 +01:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
class Part
|
|
|
|
{
|
|
|
|
public:
|
2017-12-06 16:25:13 +01:00
|
|
|
double r;
|
|
|
|
double g;
|
|
|
|
double b;
|
|
|
|
|
2017-11-17 22:10:36 +01:00
|
|
|
Part(): connections(0){}
|
|
|
|
~Part() {}
|
|
|
|
uint8_t getConnections() const
|
|
|
|
{return connections;}
|
|
|
|
|
|
|
|
void setConnections(uint8_t newconnections)
|
|
|
|
{connections = newconnections;}
|
|
|
|
|
|
|
|
private:
|
|
|
|
uint8_t connections;
|
2017-12-06 16:25:13 +01:00
|
|
|
|
|
|
|
|
2017-11-17 21:23:32 +01:00
|
|
|
};
|