fix: removed the collide bool as it was unused, also make win and loss scenarios
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user