c-pong/include/game.h
2023-10-06 17:30:56 +02:00

20 lines
312 B
C

#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 */