fix: removed the collide bool as it was unused, also make win and loss scenarios

This commit is contained in:
DarthMooMancer
2025-09-18 22:53:20 -04:00
parent f7cb337d8f
commit cbfc6f04cb
3 changed files with 4 additions and 27 deletions
+2 -3
View File
@@ -4,12 +4,11 @@
#include "globals.hpp"
struct Point {
Point(int row, int col) : m_row(row), m_col(col), m_symbol(2), m_direction(' '), m_collide(false) {};
Point(int row, int col) : m_row(row), m_col(col), m_symbol(2), m_direction(' ') {};
int m_row;
int m_col;
char m_direction;
int m_symbol;
bool m_collide;
char m_direction;
};
void move_points(Point* board[ROW][COL]);