PuzzleSolver/Source/header/input.h
Raphael Maenle 9b282e83ca generating "Random" Pieces from picture source now
rgb values stored as double in the piece base class. this is bound to change once other group has expanded piece base class.
2017-12-06 16:25:13 +01:00

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;
};