9b282e83ca
rgb values stored as double in the piece base class. this is bound to change once other group has expanded piece base class.
22 lines
335 B
C++
Executable File
22 lines
335 B
C++
Executable File
#include <stdint.h>
|
|
|
|
class Part
|
|
{
|
|
public:
|
|
double r;
|
|
double g;
|
|
double b;
|
|
|
|
Part(): connections(0){}
|
|
~Part() {}
|
|
uint8_t getConnections() const
|
|
{return connections;}
|
|
|
|
void setConnections(uint8_t newconnections)
|
|
{connections = newconnections;}
|
|
|
|
private:
|
|
uint8_t connections;
|
|
|
|
|
|
}; |