feat: added bird, removed line in readme as it no longer applies

This commit is contained in:
DarthMooMancer
2025-09-03 09:17:52 -04:00
parent 100ecc61f5
commit 2a728c5fda
9 changed files with 24 additions and 10 deletions
+4 -2
View File
@@ -2,16 +2,18 @@
#include <thread>
#include "window.hpp"
#include "input.hpp"
#include "elements.hpp"
int main() {
Window window;
Input input;
Bird bird;
bool running = true;
std::thread input_thread(&Input::get_input, &input, std::ref(running));
std::thread input_thread(&Input::get_input, &input, std::ref(running), std::ref(bird));
while (running) {
window.update_display();
window.update_display(bird);
}
input_thread.join();