c-pong/include/game.h

20 lines
312 B
C
Raw Normal View History

2023-10-06 15:30:56 +00:00
#ifndef GAME_H
#define GAME_H
struct game_data
{
int is_running;
struct render_data* render_data;
struct player* player1;
struct player* player2;
struct ball* ball;
int window_width;
int window_height;
};
void game_start(int window_width, int window_height);
#endif /* GAME_H */