wip
This commit is contained in:
+2
-1
@@ -26,7 +26,8 @@ void Window::draw_display(int milliseconds) {
|
||||
|
||||
void Window::update_display(Point* segments[]) {
|
||||
m_board[segments[0]->m_row][segments[0]->m_col] = segments[0];
|
||||
for(int i = 2; i < ROW * COL; i++) {
|
||||
m_board[segments[2]->m_row][segments[2]->m_col] = segments[2];
|
||||
for(int i = 3; i < ROW * COL; i++) {
|
||||
if(segments[i] != nullptr) {
|
||||
m_board[segments[i]->m_row][segments[i]->m_col] = segments[i];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user