This commit is contained in:
DarthMooMancer
2025-09-26 17:53:29 -04:00
parent abef01d7b8
commit 1f3954ac79
6 changed files with 41 additions and 186 deletions
+2 -1
View File
@@ -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];
}