wip
This commit is contained in:
+4
-3
@@ -14,12 +14,13 @@ struct Point {
|
||||
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) {}
|
||||
Point(int x, int y, char s, int d) : m_row(x), m_col(y), m_symbol(s), m_direction(d) {}
|
||||
void to_string();
|
||||
void set_new_point(int row, int col);
|
||||
void set_new_point(Point &point);
|
||||
};
|
||||
|
||||
void get_new_pos(Point* (*board)[COL], Point** segments);
|
||||
void check_new_tail(Point** segments);
|
||||
void determine_index_zero_pos(Point* (*board)[COL], Point** segments);
|
||||
bool check_new_tail(Point** segments);
|
||||
void move_tail_indicies(Point** segments);
|
||||
|
||||
struct Head {
|
||||
Head() : m_direction(2) {};
|
||||
|
||||
Reference in New Issue
Block a user