#include "main.h" #ifndef EVENEMENT_H #define EVENEMENT_H int MangerPastille(PIXELS *serpent, PIXELS* pastilles,unsigned long int *score,int longueur_serpent,unsigned long int *vitesse); void DeplacementSerpent(int direction ,PIXELS *serpent, int longueur); void InitialiserPastilles(PIXELS *pastilles, PIXELS *serpent, int longueur_serpent); void AfficherTimerEtScore(long unsigned int *score,int minutes,int secondes); int PastilleSurSerpent(PIXELS pastille, PIXELS *serpent, int longueur_serpent); int MourrirSerpent(PIXELS *serpent, int longueur_serpent); int Serpent(PIXELS *serpent,PIXELS *pastilles,unsigned long *score,int *longueur_serpent,unsigned long int *vitesse,int direction); #endif