wip
This commit is contained in:
1 parent
abef01d7b8
commit
1f3954ac79
6 files changed
+41
-186
No files matched your search
+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