feat: added paddles and input for the paddles. Clears everything on screen instead of individual (faster and easier)

This commit is contained in:
DarthMooMancer
2025-08-30 16:20:50 -04:00
parent c2b99a82df
commit fe8e4346a2
8 changed files with 113 additions and 29 deletions
+2 -1
View File
@@ -1,10 +1,11 @@
#ifndef INPUT_HPP
#define INPUT_HPP
#include "elements.hpp"
struct Input {
int m_current_key = 0;
char m_getch = ' ';
void get_input(bool &r);
void get_input(bool &r, Paddle &a, Paddle &b);
};
#endif // INPUT_HPP