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