breakout/include/state.h
2025-12-05 11:28:35 -06:00

23 lines
271 B
C

#pragma once
#ifdef __cplusplus
extern "C" {
#endif
struct game_state {
float paddle_x;
float paddle_y;
float ball_x;
float ball_y;
float ball_dx;
float ball_dy;
double start_time;
double remaining;
};
#ifdef __cplusplus
}
#endif