changes from m_row & m_col to x & y

This commit is contained in:
DarthMooMancer committed 2025-11-03 13:09:37 -05:00
1 parent ab16f18137
commit 2c38da4b79
4 files changed
+35 -35

No files matched your search

+4 -4
View File
@@ -11,12 +11,12 @@ enum Direction {
};
struct Point {
int m_row, m_col;
int x, y;
char m_symbol;
enum Direction m_dir;
Point() : m_row(0), m_col(0), m_symbol('@') {}
Point(int x, int y, char s) : m_row(x), m_col(y), m_symbol(s) {}
void set_new_point(int row, int col);
Point() : x(0), y(0), m_symbol('@') {}
Point(int x, int y, char s) : x(x), y(y), m_symbol(s) {}
void set_new_point(int x, int y);
};
int get_score();