#include "Cell.h" #include Cell::Cell() {figure = nullptr;} Cell::Cell(Figure* fig) { figure = fig; } std::ostream& operator <<(std::ostream& out, Cell& cell) { if (cell.figure == nullptr) out << ". "; else out << cell.figure->print() << ' '; return out; }