You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
392 B

  1. #pragma once
  2. #include "../input-output/Graphics.h"
  3. class Point{
  4. private:
  5. uint32_t x_;
  6. uint32_t y_;
  7. int img_;
  8. public:
  9. Point(uint32_t y, uint32_t x, int img = '*');
  10. ~Point();
  11. void setPoint(uint32_t y, uint32_t x);
  12. uint32_t getX() const;
  13. uint32_t getY() const;
  14. int getImg() const;
  15. void setImg(int image);
  16. void print() const;
  17. void clear();
  18. };