SAE11_2023/include/pomme.h

17 lines
310 B
C
Raw Normal View History

#ifndef POMME_H
#define POMME_H
#include "../include/grille.h"
#include "../include/serpent.h"
typedef struct {
int x;
int y;
} Pomme;
Pomme creerPomme(Serpent serpent, int longueur);
2023-12-11 18:40:04 +01:00
void dessinerPomme(Pomme pomme,int id_pomme);
2023-12-22 10:36:53 +01:00
int mangerPomme(Serpent serpent[], Pomme pomme);
#endif /*POMME_H*/