can draw block buffer to screen and collide but the collide is broken

This commit is contained in:
DarthMooMancer
2025-09-30 21:35:10 -04:00
parent 690fb400ff
commit d26953869b
6 changed files with 105 additions and 152 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ void Window::clear_display() {
}
}
void Window::update_display(Point** buffer, int buffer_size) {
void Window::update_board(Point** buffer, int buffer_size) {
for(int i = buffer_size - 1; i >= 0; i--) {
if(buffer[i] != nullptr) {
m_board[buffer[i]->m_row][buffer[i]->m_col] = buffer[i];