20 lines
312 B
C
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 */
|