30 lines
1.1 KiB
C
30 lines
1.1 KiB
C
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* ::: :::::::: */
|
||
|
/* game.h :+: :+: :+: */
|
||
|
/* +:+ +:+ +:+ */
|
||
|
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
|
||
|
/* +#+#+#+#+#+ +#+ */
|
||
|
/* Created: 2023/04/26 15:29:34 by erey-bet #+# #+# */
|
||
|
/* Updated: 2023/04/26 15:38:47 by erey-bet ### ########.fr */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
|
||
|
#ifndef GAME_H
|
||
|
# define GAME_H
|
||
|
|
||
|
typedef struct s_player
|
||
|
{
|
||
|
double pos_x;
|
||
|
double pos_y;
|
||
|
} t_ply;
|
||
|
|
||
|
typedef struct s_game
|
||
|
{
|
||
|
mlx_t *mlx;
|
||
|
mlx_image_t *windows;
|
||
|
t_ply *ply;
|
||
|
} t_game;
|
||
|
|
||
|
#endif
|