Cell.h 263 B

12345678910111213141516
  1. #include "Figure.h"
  2. #include <iostream>
  3. class Cell
  4. {
  5. private:
  6. Figure* figure = nullptr;
  7. public:
  8. Cell();
  9. Cell(Figure* figure);
  10. Figure* get_figure() {return figure;}
  11. friend std::ostream& operator <<(std::ostream& out, Cell& cell);
  12. };