feat: Added ball and collision to paddles. Added a score system and timer for game. May be done in one day.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#ifndef TIMER_HPP
|
||||
#define TIMER_HPP
|
||||
|
||||
struct Timer {
|
||||
void decrement_time(int &time, bool &running, bool &timer_active);
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user