final commit for the time being
This commit is contained in:
1 parent
b0393c65f2
commit
cfa0e52705
4 files changed
+7
-9
No files matched your search
+3
-3
@@ -28,10 +28,10 @@ int main () {
|
||||
running = false;
|
||||
}
|
||||
head.get_new_pos();
|
||||
body.get_new_points(head);
|
||||
head.m_previous_head.set_new_point(head.m_head.m_row, head.m_head.m_col, head.m_head.m_direction);
|
||||
|
||||
fruit.get_new_pos(window.m_board, head, body.m_score);
|
||||
body.get_new_pos(head);
|
||||
|
||||
head.m_previous_head.set_new_point(head.m_head.m_row, head.m_head.m_col, head.m_head.m_direction);
|
||||
window.update_display(fruit, head, body);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user