This commit is contained in:
2024-12-12 20:33:05 +01:00
parent 0f018cd3af
commit 2c61fbe868
4 changed files with 30 additions and 8 deletions

View File

@@ -2,6 +2,7 @@
#define FONCTION_H
#include <stdlib.h>
#include <stdbool.h>
#define EMPTY 0
#define WALL 1
@@ -19,7 +20,8 @@ typedef struct Vecteur
unsigned short int **creatArea2D(const unsigned int N);
void screenDisplay( unsigned short int **tab,int size);
void inGameLoop(unsigned short int **tab2d,vect *playerPos );
void inGameLoop (unsigned short int **tab2d, vect *playerPos, vect *targets, int nbr_targets);
bool isWin(unsigned short int **tab2d, vect *targets, int nbr_targets);
#endif // FONCTION_H