#ifndef __CELL_H__ #define __CELL_H__ class Cell { public: Cell(); bool inSameGroup( Cell& other ); void combineGroups( Cell& other ); private: Cell *getGroup(); Cell *parent; }; #endif // __CELL_H__