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.
 
 
 

28 lines
462 B

#pragma once
#include "../input-output/Graphics.h"
class Point{
private:
uint32_t x_;
uint32_t y_;
int img_;
public:
Point(uint32_t y, uint32_t x, int img = '*');
void setPoint(uint32_t y, uint32_t x);
uint32_t getX() const;
uint32_t getY() const;
void moveUp();
void moveDown();
void moveLeft();
void moveRight();
int getImg() const;
void setImg(int image);
void print() const;
void clear();
};